Is there a way to go back to Java 7?

Issue #177 resolved
Former user created an issue

Is there a way to go back to Java 7?

Currently, Android applications are programmed by using Android Studio and usually use Java 7.

If you import the library symja-java8, you will get a compilation error like this

Error: Error converting bytecode to dex:
Cause: Dex can not 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 added those two lines to build.gradle but did not work.

I have tried to fix for a long time but there is no way to compile this library.

Who has compiled symja-java8 library on Android Studio?

Comments (1)

  1. Log in to comment