question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there any reason why this lib does not work with java 7 ?

Caused by: com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)

Please fix that… that this good library works to for java 7. Thanks!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
quentin41500commented, Jul 31, 2018

I can’t really help you there. My recommendation is to import the library using jitpack. You can always import the library and modify it your way and then package it how you need it. But at this point you are on your own. Sorry about that. I will be closing this story for now. Feel free to post here if you find a solution.

0reactions
Dimon94commented, Dec 3, 2018

@quentin41500 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.

I think Java 8 support on Android is min API 24… so this will limit compatibility for previous android versions?

Can revert the Java 8 upgrade? Can just use threetenabp?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java SE 7 End of Extended Support in July 2022 - Oracle Blogs
As the Oracle Java SE Support Roadmap explains, Java SE 7 is planned to exit Extended Support and enter Sustaining Support in July...
Read more >
End of Java 7 Public Updates
July 2015: Updates for Java 7 are no longer available to the public. Oracle offers updates to Java 7 only for customers who...
Read more >
Java 7 reaches end of life - InfoWorld
The end is near for Java 7, a nearly 11-year-old release of standard Java. Oracle is set to discontinue extended support for the...
Read more >
Long Term Support (LTS) for Java 7 & Java 6 - Azul Systems
Oracle ceased providing supporting Java 6 in December 2018 and will cease providing extended support for Java 7 in July 2022. Only Azul...
Read more >
Java version history - Wikipedia
Java 7 is no longer publicly supported. For Java 11, long-term support will not be provided by Oracle for the public; instead, the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found