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

do not work with android-fat-aar #250

Open
zhouchaohong1111 opened this issue May 3, 2017 · 3 comments
Open

do not work with android-fat-aar #250

zhouchaohong1111 opened this issue May 3, 2017 · 3 comments

Comments

@zhouchaohong1111
Copy link

https://github.com/adwiv/android-fat-aar

Error:Error converting bytecode to dex:
Cause: Dex cannot parse version 52 byte code.
This is caused by library dependencies that have been compiled using Java 8 or above.
If you are using the 'java' gradle plugin in a library submodule add
targetCompatibility = '1.7'
sourceCompatibility = '1.7'
to that submodule's build.gradle file.

@evant
Copy link
Owner

evant commented May 3, 2017

Have a sample that shows this issue?

@zhouchaohong1111
Copy link
Author

https://github.com/zhouchaohong1111/retrolamdaFataarSample
the sample will show this issue.

@chamathabeysinghe
Copy link

I got the same issue when I add a non android jar file which is compiled using java 8. Did you find a solution?

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