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
25
votes
4 answers

How to show Android Gradle Plugin update dialog again

I've updated Android Studio and the dialog for Gradle Plugin update appeared. I've accidentally clicked Don't show again for this project. How can I display the dialog again?
Pitel
  • 5,334
  • 7
  • 45
  • 72
24
votes
5 answers

Changing build variants in bulk in AndroidStudio 3.0+

Quick history: I'm using AndroidStudio 3.0 my project has 100+ modules (multiple applications and libraries). all of them have same flavorDimensions and flavors. Now question: how to change flavors for all modules in bulk in AndroidStudio 3.0+…
MatrixDev
  • 1,432
  • 15
  • 20
24
votes
5 answers

java.lang.UnsupportedOperationException: Can't convert value at index 5 to color: type=0x5

My app is crashing after updating to Android Studio 3 RC1 (Gradle 4, Android Gradle plugin 3 RC2). This is the error I am having: java.lang.RuntimeException: Unable to start activity ComponentInfo{*****}: android.view.InflateException: Binary XML…
24
votes
3 answers

Android Studio 3 - It is possible to take a screenshot or record screen?

In latest version of Android Studio android monitor was changed to android profiler. Android profiler it's great but I don't see any option to take a screenshots or record device screen. So my question is where are now capturing options?
Hype
  • 1,039
  • 1
  • 10
  • 27
23
votes
6 answers

Android Studio 3.0 parameter hints information not always visible?

Sorry, I don't know how this new functionality is called exactly, please look at screenshot: So, parameter name is visible in method call. This is cool, but as you can see, only first parameter in this case, second has no name visible. From my…
user1209216
  • 7,404
  • 12
  • 60
  • 123
21
votes
8 answers

java.lang.IllegalArgumentException: Invalid Region.Op - only INTERSECT and DIFFERENCE in Button background failure

android Button background failure when I try to add android:background="@drawable/roundedbutton" into the .xml
21
votes
2 answers

Ignore case android studio 3 code completion

Currently code completion is case sensitive so when i type names, it doesn't show me suggestions. how do i make it ignore case? as an example when i type Sta or sta it should suggest startActivity. I could not find it in the settings, I'm lazy to…
21
votes
5 answers

Android Studio 3.0 - Logcat window can not show filter input control

I can not type a text filter in the logcat input text control on Android Studio 3.0.1, because it is too small. My screen is big enough. I did an event switch to fullscreen but this did not solve the problem. See the screenshot below. Has anyone…
alan
  • 241
  • 2
  • 5
21
votes
2 answers

android studio 3.0 Device Explorer - run as: could not set capabilities: Operation not permitted

i migrate to android studio 3.0. i hear feature of new device explorer in android studio 3.0. but when i connect my android phone (Samsung Note 4 - N910C) i cant see the data\data package sub folder like database folder in device explorer. but when…
21
votes
5 answers

Support Annotation does not exist after upgrading to Android Studio 3.0

After I upgrade my project to AndroidStudio 3.0-beta1, my androidTest files stopped compiling. A lot of packages are not found, some of them are: error: package android.support.annotation does not exist error: cannot find symbol class StringRes …
21
votes
2 answers

Issue Setting up Dagger 2.x for Android on AndroidStudio3.0 Canary4

I get following errors while setting up dagger 2.x in Android Studio 3.0 Canary 4 Error:(71, 20) Failed to resolve: com.google.dagger:dagger:2.x Error:(73, 20) Failed to resolve: com.google.dagger:dagger-android:2.x Error:(74, 20) Failed to resolve:…
21
votes
6 answers

Android Studio 3 - Constraint layout editor broken

I'm using Android Studio 3.0 (updated to canary 4 today) on macOS for a side project and recently (not sure really when) the constraint layout editor stopped working properly. Now it just shows a grey window and the blueprint view isn't working at…
Benoit
  • 1,168
  • 8
  • 16
20
votes
2 answers

Android Studio where is color picker for Flutter plugin

In Android Studio, we have color picker when developing in Java/Kotlin (natively) like this. But while developing for Flutter, I can't see any options to pick my own color. Is there some plugin required to do that?
user6274128
20
votes
1 answer

Why is my build failing in Android Studio with the exception "Failed to find byte code for android/support/v7/app/ActionBarActivity"?

I am getting the following errors when running my app from Android Studio with instant run enabled. As mentioned in following logs app:transformClassesWithInstantRunForDevDebug is failing because gradle cannot find…
20
votes
8 answers

Android Studio 3.0 Unsigned Apk Not Installing

After upgrading to android studio 3.0 the debug apk is saying App not istalled. The package appears to be corrupted
A J
  • 4,542
  • 5
  • 50
  • 80