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

"bad class file magic (cafebabe) or version (0034.0000)" error when using jdk 1.8 #58

Closed
Piasy opened this issue Aug 17, 2015 · 1 comment

Comments

@Piasy
Copy link

Piasy commented Aug 17, 2015

com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)
When I add the following to the model closure, it works well.

    compileOptions.with {
        sourceCompatibility = JavaVersion.VERSION_1_7
        targetCompatibility = JavaVersion.VERSION_1_7
    }
@proppy
Copy link
Contributor

proppy commented Aug 20, 2015

Happy to continue to discussion in #43. We should update the README.md with instruction on how to set JDK 1.7 and/or add the proper build.gradle workaround.

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

2 participants