question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Gradle sync error (NoSuchField) with Android Gradle 3.2.0-beta01+

See original GitHub issue

Version: 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:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Archinamoncommented, Nov 26, 2018

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.

1reaction
jdappelcommented, Oct 18, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found