Android Gradle Plugin - 7.3.1 support issue.
pradeep-yml opened this issue · 0 comments
pradeep-yml commented
Hi,
I am trying build app with targeting the latest android sdk and AGP-7.3.1, I am facing issues with Jacobo tasks. Appreciate if you can address this issue.
More info on sdks targeted in project :
const val minSdk = 28
const val compileSdk = 33
const val targetSdk = 33
const val buildTools = "33.0.0"
AGP version - 7.3.1
Below is the issue details
at org.gradle.api.internal.artifacts.transform.DefaultTransformerInvocationFactory$AbstractTransformerExecution$1.call(DefaultTransformerInvocationFactory.java:291)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
... 111 more
Caused by: java.io.IOException: Error while instrumenting META-INF/versions/15/org/bouncycastle/jcajce/provider/asymmetric/edec/SignatureSpi$EdDSA.class.
at org.jacoco.core.instr.Instrumenter.instrumentError(Instrumenter.java:175)
at org.jacoco.core.instr.Instrumenter.instrument(Instrumenter.java:125)
at org.jacoco.core.instr.Instrumenter.instrument(Instrumenter.java:150)
... 123 more
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 59
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:158)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:146)
at org.jacoco.core.instr.Instrumenter.instrument(Instrumenter.java:90)
at org.jacoco.core.instr.Instrumenter.instrument(Instrumenter.java:123)
... 124 more
* Get more help at https://help.gradle.org
BUILD FAILED in 14m 54s
I believe this plugin needs to be updated to support these latest configuration, Appreciate your immediate response. Thanks much.