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
20
votes
12 answers

Android Studio 3.0 - Unable to save settings: Failed to save settings. Please restart Android Studio

Yesterday I was updated my Android Studio version to stable version 3.0 then I am started getting this errors in my studio and unable to build the app. Unable to save plugin settings: The plugin org.jetbrains.android failed to save settings and has…
Shailendra Madda
  • 20,649
  • 15
  • 100
  • 138
20
votes
1 answer
20
votes
3 answers

Multipart request with Retrofit @PartMap Error in Kotlin (Android)

If I am using this code in Java then its working fine. When I convert that code in kotlin then I got Error. Logcat 08-20 23:46:51.003 3782-3782/com.qkangaroo.app W/System.err: java.lang.IllegalArgumentException: Parameter type must not include a…
19
votes
2 answers

Android Studio: What does the blueprint area do? What benefit is it?

I'm working through Android layout and I know there is this new(er) thing call Blueprint. I'm wondering what the Blueprint view offers. What I've Tried 1. Added Button and Moved It Around Via Constraints I don't see really any difference between…
raddevus
  • 8,142
  • 7
  • 66
  • 87
19
votes
9 answers

android studio 3.1: build:gradle:3.1.0 - Absolute path are not supported when setting an output file name

When I use Android Studio 3.0 and I use the next version of Android Gradle Plugin in project/build.gradle: classpath 'com.android.tools.build:gradle:3.0.1' And it's work fine. After I update to Android Studio 3.1 , as result I update Android…
Alexei
  • 14,350
  • 37
  • 121
  • 240
19
votes
0 answers

An exception occurs during Evaluate Expression Action :

I'm developing an application using kotlin on Android Studio and it gives me below error while trying to debug an object. I guess it only occurs while working with the old devices like samsung s3 which is running on 4.3 because it does not happen…
Mustafa Güven
  • 15,526
  • 11
  • 63
  • 83
19
votes
4 answers

ANDROID STUDIO 3.0 upgrade : Error:Could not resolve all files for configuration ':app:xxxxxxxDebugCompileClasspath'

I found this warning after upgrading the latest android studio stable version Error:Could not resolve all files for configuration ':app:xxxxxxxDebugCompileClasspath'. Failed to transform file 'commons-lang-2.4.jar' to match attributes…
Nawrez
  • 3,314
  • 8
  • 28
  • 42
18
votes
9 answers

31.0.0 is not a valid SDK Version. Option are 26.0.0 Unversioned

I can no longer run my app after updating expo version to 31.0.0. I needed this upgrade to do due iOS version 12 support. Thou after trying to build the Android app it is no longer working. my package.json looks as below: { "name": "myapp", …
Mizlul
  • 1
  • 7
  • 41
  • 100
18
votes
7 answers

Android launcher icon still showing default in Android Oreo

I changed my application launcher icon using Android Studio 3.0.1: File -> Image Asset In Android 8.1, the icon looks like below image: My AndroidManifest details
CLIFFORD P Y
  • 16,974
  • 6
  • 30
  • 45
18
votes
5 answers

Search Everywhere not working fine in Android Studio 3

Search Everywhere is not working fine in Android Studio 3. When I type anything, it doesn't show up. Take a look at screenshot below, typed AndroidManifest but no result. If I look for any layout file, it shows file reference in R.layout file.…
Noman Rafique
  • 3,735
  • 26
  • 29
18
votes
4 answers

Android app building with the wrong JDK(?) somehow

I've recently updated my Android project for Android Studio 3. I wanted to support Java 8 language features, so added the following to build.gradle: compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility…
17
votes
3 answers

How to change Android Studio's default build flavor?

I got a project configured with multiple variants and flavors: buildTypes { debug { } release { } } flavorDimensions "default" productFlavors { mock { } alpha { } beta { } prod { } } Whenever I open…
17
votes
1 answer

Warning "Must be one of" - NotificationManager.IMPORTANCE

In Android Studio I get an error on new NotificationChannel(): Must be one of: android.app.NotificationManager.IMPORTANCE_HIGH, android app.NotificationManager.IMPORTANCE_LOW, ... But I reference exactly this. So it seems this is a bug in…
chrisonline
  • 6,949
  • 11
  • 42
  • 62
17
votes
4 answers

android studio 3.0 error: style attribute '@android:attr/windowEnterAnimation' not found

I had followed steps of migrating to android studio 3.0 updgradation. build.gradle flavorDimensions 'dimensionless' D:\R\merchant\projapp\popuplibrary\build\intermediates\bundles\debug\res\values\values.xml Error:(28, 5) error: style…
AskQ
  • 4,215
  • 7
  • 34
  • 61
16
votes
0 answers

"Variables are not available" appearing sometimes during debugging, on stepping through program (Android Studio 3.5+)

Typically, variables are shown in the debug mode in Android Studio (version 3.5.2). But sometimes, as I step through a program I suddenly get "Variables are not available" (see the image below). This time I get this within code where a bug is…
reducing activity
  • 1,985
  • 2
  • 36
  • 64