Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net.bytebuddy:byte-buddy-android:+ issue #251

Closed
Will5 opened this issue Oct 1, 2018 · 2 comments
Closed

net.bytebuddy:byte-buddy-android:+ issue #251

Will5 opened this issue Oct 1, 2018 · 2 comments

Comments

@Will5
Copy link

Will5 commented Oct 1, 2018

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?

@mckn
Copy link

mckn commented Jan 18, 2019

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.

@mckn
Copy link

mckn commented Jan 24, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants