net.bytebuddy:byte-buddy-android:+ issue
Will5 opened this issue · 2 comments
I could not compile my app today because the dependency net.bytebuddy:byte-buddy-android
was updated to version 1.9.0, which was released over the weekend. This caused the following error:
Android issues: (1 error)
../../.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy/1.9.0/../byte-buddy-1.9.0.jar
Illegal class file: Class module-info is missing a super type.
Java compiler: (4 errors)
com.android.builder.dexing.DexArchiveBuilderException: Failed to process ../../.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy/1.9.0/../byte-buddy-1.9.0.jar
com.android.builder.dexing.DexArchiveBuilderException: Error while dexing.
com.android.tools.r8.CompilationFailedException: Compilation failed to complete
com.android.tools.r8.utils.AbortException
I resolved it by adding implementation 'net.bytebuddy:byte-buddy-android:1.8.22'
, the previous version, to our list of dependencies in our build.gradle. After discovering other issues, #211 and #249, I dug into the pom files and discovered that the source was Leanplum-Android-SDK:
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-android</artifactId>
<version>[1.6.2,2.+[</version>
</dependency>
Can you set the limit to < 1.9.0?
I get the same error when I am trying to add com.leanplum:leanplum-uieditor:4.1.1
to our project. What can I do to resolve it? I am trying to evaluate the Leanplum service but this is a show stopper.
Talked to the Leanplum support and for the new versions of leanplum the com.leanplum:leanplum-uieditor
module isn't required anymore and should not be used.