Gradle sync error (NoSuchField) with Android Gradle 3.2.0-beta01+
See original GitHub issueVersion: 3.2.0
With the lastest versions of android-gradle
(starting version 3.2.0 beta 1), this plugins causes gradle sync to fail due to
java.lang.NoSuchFieldError: javacTask
at com.archinamon.utils.VariantUtilsKt.getJavaTask(VariantUtils.kt:13)
In latest android-gradle
versions, javacTask
’s name has changed.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Error running android: Gradle project sync failed. Please fix ...
Open Android Studio and go to your SDK Manager(File>Settings>SDK Manager) ... If no error messages are shown: sometimes the command-line gradle shows them....
Read more >Different Ways to fix "Error running android: Gradle project ...
Method 2: Sync your project with Gradle files This issue will not be solved if the folder containing Gradle files is deleted or...
Read more >Known issues with Android Studio and Android Gradle Plugin
NoSuchFieldError : view_tree_lifecycle_owner in the issues panel, make sure to include a debugImplementation dependency to androidx.lifecycle:lifecycle-runtime ...
Read more >Gradle Sync Failed Error Android Studio 3.2 .1 100% Solve Error
Gradle Sync Failed Error Android Studio 3 .2 .1 100% Solve Error.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Version 3.3.0 still works with AGP 3.0.1 AGP 3.2.1 version supporting with 3.3.1 I’ve been published. Try it, please. 3.1.0-3.2.0 maybe won’t work properly due to migration agp to kotlin.
I have published a fix for this issue if anyone has an urgent need to mitigate this issue: https://bintray.com/jdappel/maven/android-gradle-aspectj.