Questions tagged [android-studio-3.0]

Use for questions about using Android Studio, an official IDE targeted at Android development. Do NOT use for questions about programming for Android in general; instead use [android].

Android Studio is the official IDE for Android development, and includes everything you need to build Android apps.

For more updates about Android Studio 3.0 check out these videos

  1. AS 3.0
  2. Java 8 support
  3. The new Profiler
1629 questions
0
votes
1 answer

Uses permission is not working in built apk

When built my application, the built apk is not working any other devices. It is only working in my mobile. The error message i founded is user permission is not available and security exception. It is only working in my phone. Here is my manifest…
0
votes
1 answer

Difference between 'Run' App and 'Profile' App option in android studio 3.0

In android studio 3.0 there are two options(Run and Profile) available to run the application. Both are functioning like the same thing and behaviour. See below screenshot: and My question is what's the actual activities between the Run and…
0xAliHn
  • 18,390
  • 23
  • 91
  • 111
0
votes
1 answer

Why my views are overlapping status bar in Android Studio Layout Editor

For some time now, all the layouts I make look like this in the Layout Editor. I do not remember if this was normal before, but this is kind of annoying. As you can see, the ImageView and the TextView are over the status bar. And even worse…
alexpfx
  • 6,412
  • 12
  • 52
  • 88
0
votes
1 answer

Error: Failed to resolve: spotify-android-auth:1.0.0: ; Has anyone had this error and do you know how to correct it?

Really struggling to figure out exactly what is going on here. Just trying to get the spoitfy api to work in android studio https://i.stack.imgur.com/I8Ynm.jpg Any insight is greatly appreciated. Thanks
0
votes
1 answer

Open file shortcut not showing project files Android Studio

One of my most used shortcuts in Android Studio is Shift+⌘+o (open file). It lets me easily open up any layout, class, interface, etc file in my project easily. Lately I've noticed that the only files that show up in the list are auto-generated…
Tyler
  • 19,113
  • 19
  • 94
  • 151
0
votes
2 answers

Difference between Dual and Auto option in debugging

What is the Difference between Dual and Auto option in debugging in Android Studio 3.0. Earlier Android Studio (<3.0 , from 2.2 ) there used to be Hybrid and Auto?Why change name? What to choose for Native debugging? Auto or Dual?
Raulp
  • 7,758
  • 20
  • 93
  • 155
0
votes
0 answers

Upgraded android studio from 2.3.3 to 3.0.1. Unable to build any project. How to fix

C:\Users\user.gradle\caches\transforms-1\files-1.1\appcompat-v7-26.1.0.aar\e0bf0fd8597eb9c539cbc7097b7e054d\res\values-v14\values-v14.xml Error:(8, 5) error: resource dimen/abc_text_size_button_material (aka…
0
votes
1 answer

Finding a specific user in Parse?

I have 2 users in the User class and they have ParseGeoPoint Column which I want to access. Those GeoPoints get updated with user's current latlng. I am allowing a user to manually add another person to see their location on the map. After the user…
Danish Ajaib
  • 109
  • 1
  • 11
0
votes
0 answers

Getting an error when Android apk is tried to deploy external device

Launching app $ adb push /app/build/outputs/apk/prelollipop/debug/XXX.apk /data/local/tmp/XXX.android $ adb shell pm install -t -r "/data/local/tmp/XXX.android" Failure [INSTALL_FAILED_INVALID_APK: Package couldn't be installed in…
0
votes
2 answers

Unable to run / open Android Studio app and android emulator in Mac

I have already tried deleting the config file and reinstall android studio. I still have problem in opening / running the ide. I tried to run it as administrator, using the terminal: cd /Applications/Android\ Studio.app/Contents/MacOS/ sudo…
0
votes
1 answer

Multiple APKs for screen densities still include all resources and APK file size stays same

My game app includes 4 large PNG images representing different game boards: In an effort to reduce the APK file size I have followed the Build Multiple APKs document and added the following section to the app/build.gradle file: splits { density…
0
votes
1 answer

Layout Edtior not showing Toolbar - NegativeArraySizeException

All is working fine on phones and in emulator, but I can't use the Layout Editor in Android Studio because I get following error: The following classes could not be instantiated: android support.v7.widget.Toolbar (Open Class, Show Exception,…
chrisonline
  • 6,949
  • 11
  • 42
  • 62
0
votes
1 answer

Kotlin Type mismatch after converted in Android Studio

I have tried to convert the existing the android code to Kotlin code. However, it showed the following error The code before conversion. recyclerView.setAdapter(new RecyclerView.Adapter() { @Override public…
Long Ranger
  • 5,888
  • 8
  • 43
  • 72
0
votes
1 answer

Unable To Create Signed APK in Android Studio

after i clicked on generate signed apk It Shows "APK Generated Successfully" but there is no apk in the folder. I tried Clean,Rebuild,Invalidate Cache/Restart but after all that Android Studio Not generating apk but shows "apk generated success…
Sarath SVS
  • 49
  • 1
  • 8
0
votes
0 answers

Android studio Error. Could not create service of type TransformedFileCache

I just updated my Android studio to 2.3.3 to 3.0.1. After restart it asked me to update my gradle. After updating to gradle to version 4.1 it is now giving following error - Error:(7, 1) A problem occurred evaluating root project 'Xyz'. Could…