Questions tagged [android-studio-3.4]

Use for questions about using Android Studio 3.4. Android Studio is an official IDE targeted for Android development. Note: Do NOT use for questions about programming for Android in general; instead use the tag: Android.

53 questions
79
votes
10 answers

Error related to resources_ap after upgrading to Android Studio 3.4

I upgraded Android Studio 3.4 today. I am no longer able to run the the app. I have cleaned the project, restarted Android studio many times. I have also invalidated cache to no avail. I am getting the following error when installing the…
Hong
  • 17,643
  • 21
  • 81
  • 142
50
votes
17 answers

Not able to connect adb after upgrate Android Studio to 3.4

unable to connect to adb.check the event log for a possible issue, verify that localhost entry is pointing to 127.0.0.1 or:: 1 for ipv4 or ipv6 Tried adb kill-server, restart, invalidate restart nothing works. Same issue reported over here…
MJM
  • 5,119
  • 5
  • 27
  • 53
31
votes
2 answers

GC overhead limit exceeded when enable R8 Shrinker in Android Studio

I'm using Android Studio 3.4 (Canary 9), when I build my app, it failed with the following error Task :app:transformClassesAndResourcesWithR8ForDebug R8 is an experimental feature. If you experience any issues, please file a bug at…
nhoxbypass
  • 9,695
  • 11
  • 48
  • 71
26
votes
8 answers

Upgraded to Android studio 3.4 - Aapt2InternalException: AAPT2: Daemon startup failed

I got Error in new project while build after i upgraded Android studio to 3.4 Caused by: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeDebugResources'. Caused by:…
25
votes
6 answers

Error:Internal error: (java.lang.ClassNotFoundException) com.google.wireless.android.sdk.stats.IntellijIndexingStats$Index

Android Studio 3.4. Project SDK (Android API 19 Platform). Not using FindBugs or SpotBugs. Every attempt to build, I get this error: Information:9/05/2019 4:02 PM - Compilation completed with 1 error and 0 warnings in 1 s 763 ms Error:Internal…
Vince Refiti
  • 483
  • 1
  • 5
  • 9
9
votes
1 answer

What does "-keepattributes SourceFile,LineNumberTable" mean for the new Android code shrinker R8?

The auto-generated proguard-rules.pro has the following: # Uncomment this to preserve the line number information for # debugging stack traces. #-keepattributes SourceFile,LineNumberTable I have had this commented out for years and it worked…
Hong
  • 17,643
  • 21
  • 81
  • 142
7
votes
6 answers

Gradle sync failed: Could not create parent directory for lock file

I checked out a git repository in android studio, but I'm in trouble with Gradle sync failed error. When project wants to build, the android studio raise an error like as following: Gradle sync failed: Could not create parent directory for lock…
7
votes
1 answer

Databinding NoSuchMethodError with buildtools 3.4.0

When using the latest DataBinding classpath 'com.android.tools.build:gradle:3.4.0-alpha10' A NoSuchMethodError crashes the app upon Activity load. Using: classpath 'com.android.tools.build:gradle:3.2.1' causes the databinding to work…
4
votes
2 answers

Google endpoint framework breaks for Android Studio 3.4 (gradle 5.1.1)

I have a project that uses Google App Engine with Android. I got the following "gradle project sync failed" error after I upgraded to Android Studio 3.4 (gradle 5.1.1). It was working well prior in the previous android studio version which uses…
Angel Koh
  • 12,479
  • 7
  • 64
  • 91
4
votes
0 answers

Resources$NotFoundException thrown after updating Gradle Plugin to 3.4.0

I have a project with multiple modules, and after updating to Gradle Plugin 3.4.0 and Gradle 5.1.1, everything else seems to work OK, but the module for Espresso tests crashes immediately when trying to run the…
manabreak
  • 5,415
  • 7
  • 39
  • 96
3
votes
0 answers

DASH Streaming ExoPlayer android studio

I'm streaming video from URL stored in firebase storage and I'm using the following code for streaming the video using ExoPlayer BandwidthMeter bandwidthMeter = new DefaultBandwidthMeter(); TrackSelector trackSelector = new DefaultTrackSelector(new…
3
votes
1 answer

Reset JSON Schema validation

I accidentally clicked the JSON Schema validation menu in Android Studio and selected JSON schema v7 from the list. Now the IDE shows warnings in my pubspec.yaml file that some values were not allowed. I turned of the inspection but I wondered if…
geisterfurz007
  • 5,292
  • 5
  • 33
  • 54
3
votes
1 answer

Android Studio 3.4 build fails with openJDK

OS: Debian Stretch Android Studio 3.4 JDK: open jdk 1.8 My Android studio build fails with following error: Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to …
sakhunzai
  • 13,900
  • 23
  • 98
  • 159
3
votes
4 answers

Lombok not working with Android Studio 3.4

After updating android studio to 3.4, am facing issues with lombok plugin. Though inside model class, annotations are recognised and showing properly, in activity all getter and setter functions i have used, are not recognised. I can build project…
3
votes
1 answer

Various plugins (such as Kotlin) are marked incompatible with Android Studio 3.4 Beta 1

For both the Kotlin and Material Theme plugins I get the message that they are "incompatible with the current android studio version." Kotlin files fail to be read as anything other than plaintext, and I get a notification saying, "Plugin supporting…
der_Fidelis
  • 1,475
  • 1
  • 11
  • 25
1
2 3 4