android-gradle-aspectj: Gradle sync error (NoSuchField) with Android Gradle 3.2.0-beta01+
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.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 6
- Comments: 15 (6 by maintainers)
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.