Questions tagged [android-studio-2.4]

For questions related to the usage and features that are specific to version 2.4 of Android Studio - the official IDE targeted at Android development. When using this tag also include the more generic [android-studio] tag. Do NOT use this tag for questions about programming for Android in general; instead use the [android] tag.

7 questions
35
votes
4 answers

Error:Could not initialize class com.android.ide.common.util.ReadWriteProcessLock after updating to A.S. 2.4

After upgrading to Android Studio 2.4 Preview 4 I got this error Error:Could not initialize class com.android.ide.common.util.ReadWriteProcessLock
humazed
  • 74,687
  • 32
  • 99
  • 138
9
votes
5 answers

How to enable Java 8 language features in Android studio

Now release with Android Studio 2.4 Preview 4, it is now supported Java 8 language features. Jack is no longer required, and need to disable Jack to use the improved Java 8 support built into the default toolchain. Now we need to disable Jack and…
pRaNaY
  • 24,642
  • 24
  • 96
  • 146
5
votes
2 answers

Android Studio 2.4 + Lombok annotationProcessor configuration confusion

I using lombok on some project, and with the new Android Studio 2.4 Update now (Preview) I get this strange error: What went wrong: Execution failed for task ':core:javaPreCompileRelease'. Annotation processors must be explicitly declared now. …
5
votes
1 answer

How do I make Android Studio always open search results in the "find window"?

Lately, Android Studio started opening search results (Ctrl + Shift + F) in a intermediate window like this: Is there any way I can have it open search result in the "Find Window" automatically instead of having to press Ctrl + Enter ? I'm using…
mbonnin
  • 6,893
  • 3
  • 39
  • 55
4
votes
3 answers

Error:Execution failed for task ':app:processDebugResources' when using font folder inside res

I have updated SDK to Android O developer preview and started a simple demo with single TextView. When i included font inside res folder it started showing me Error:Execution failed for task ':app:processDebugResources'. >…
Ravi
  • 34,851
  • 21
  • 122
  • 183
1
vote
1 answer

A way to import rounded launcher icon in Android Studio 2.4 Preview 5

Android project structure shows two launcher icon types. One is squared launcher icons and rounded launcher icons. It is possible to add rounded launcher icon manually by copying the rounded launcher icon to respective folders. But is there a…
Isuru
  • 3,818
  • 13
  • 49
  • 64
0
votes
2 answers

Could not find gradle-4.2.1.jar (com.android.tools.build:gradle:4.2.1)

I have a problem with building project after updating the Android studio to 4.2.1 and the Build Gradle version to 4.2.1. And the gradle version in gradle-wrapper.properties…