Questions tagged [android-studio-3.2]

Use for questions about using Android Studio 3.2 (currently in early availability as "Canary" level). Android Studio is an official IDE targeted for Android development. Do NOT use for questions about programming for Android in general; instead use the [android] tag.

97 questions
144
votes
16 answers

Failed to resolve variable '${animal.sniffer.version}' when migrate to AndroidX

I'm using Android Studio 3.2 Beta5 to migrate my project to AndroidX. When I rebuild my app I got these errors: ERROR: [TAG] Failed to resolve variable '${animal.sniffer.version}' ERROR: [TAG] Failed to resolve variable '${junit.version}' Full…
113
votes
15 answers

Could not find com.android.tools.build:aapt2:3.2.0

AndroidStudio3.2 Canary14 fails clean-and-rebuild with the following error Could not find com.android.tools.build:aapt2:3.2.0-alpha14-4748712. Searched in the following locations: …
Arunabh Das
  • 11,928
  • 18
  • 73
  • 102
42
votes
2 answers

Navigation Preview unavailable in Android Studio 3.2 Preview

I am interested to try the Navigation graph showed in the Android Studio. But I got the preview unavailable after I import the google sample I used the Android Studio 3.2 Preview Canary 16
36
votes
5 answers

java.lang.IllegalStateException: SimpleTypeImpl should not be created for error type

Have been facing this error after migrating to AndroidX. java.lang.IllegalStateException: SimpleTypeImpl should not be created for error type: ErrorScope{Error scope for class with arguments:…
Shahzeb
  • 3,454
  • 3
  • 26
  • 47
28
votes
6 answers

Failed to transform file 'some-lib-release.aar' to match attributes {artifactType=processed-aar} using transform JetifyTransform

I have a project with 2 modules: an app (Java) with build types debug, release, and enterprise and a Kotlin library (release and debug) used by the app. I'm using AndroidX and have the following in my…
25
votes
3 answers

Android app runs very slowly after resuming from breakpoint

My Android app runs dead slow (almost frozen) after resuming from a Java breakpoint, even if I disconnect from the debugger or even unplug the USB cable. I get the same behavior on every device and emulator I've tried. Performance is great until it…
Barry Fruitman
  • 11,209
  • 10
  • 64
  • 121
24
votes
4 answers

Some Conflicts were found in the installation area - Android Studio - cacerts error

I am on Android Studio 3.0.1 and wanted to upgrade it to latest one. But I am getting this attached error due to jre/jre/lib/security/cacerts. Does any one have any idea how to fix it? It says patch cannot be applied.
Raulp
  • 6,261
  • 11
  • 73
  • 129
17
votes
3 answers

Android Studio 3.2.1, XML bad indent format

After updating to Android Studio 3.2.1 the XML files format is very annoying and bad, how can we fix it? Can we change it from somewhere in settings to previews type?
Mohammad Hadi
  • 1,246
  • 3
  • 16
  • 30
16
votes
9 answers

Android Studio 3.2.1 - Cannot sync project with gradle files: Argument for @NotNull parameter 'message' of ... must not be null

I have a problem using AndroidStudio. I freshly installed it on my Kubuntu 18.04 machine and wanted to create my frist project. Everyhting worked fine and the project opened. The only problem: I can't run my apps. I can't even look at the activities…
13
votes
3 answers

how to remove generatedJava from android studio 3.2

Android studio 3.2 I have migrated my project to android studio 3.2. After migration I see generatedJava folder in my Android folder structure. I don't have any use of it. How can I remove this generatedJava folder from Android Studio?
Bhuvanesh BS
  • 11,405
  • 10
  • 36
  • 61
11
votes
2 answers

ResourceType For resource entry index is beyond type entryCount

I use Android Studio 3.2. When I clean/rebuild project I see these warnings in build tool window: W/ResourceType( 6139): For resource 0x0101053d, entry index(1341) is beyond type entryCount(1155) W/ResourceType( 6139): For resource 0x0101053e, entry…
hasanghaforian
  • 13,142
  • 8
  • 71
  • 144
10
votes
3 answers

After Update to New Android Studio 3.2 I got error

Android resource compilation failed Output: C:\Users\Desktop\Pulse-AR\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2381: error: inner element must either be a resource reference or…
Viral Patel
  • 1,108
  • 1
  • 7
  • 21
9
votes
3 answers

Gradle error when Update to Android studio 3.2

I updated my Android Studio version to 3.2. Now I am facing following error for my project - com.novoda.gradle.release.AndroidLibrary$LibraryUsage.getDependencyConstraints()Ljava/util/Set; Currently I am using gradle version 4.6. Issue link…
nikhil bansal
  • 421
  • 5
  • 13
8
votes
1 answer

Layout Inspector - How to find text element's current font

After taking a snapshot of the layout and inspecting it with Layout Inspector, how do I find what font is used for the selected TextView or AppCompatTextView? Text and Theme property groups have no mentions of fontFamily property. However, I see the…
8
votes
10 answers

Data-Binding fails with "couldn't make a guess"

Since the update to Android Studio 3.2.0 I face the following issue: Execution failed for task ':mobile:dataBindingGenBaseClassesDebug'. > couldn't make a guess for com.ACME.database.model.Order also seen this answer, which hints for that…
1
2 3 4 5 6 7