@hideki Problem! With the new 1.3 version, I cannot deploy my app to device. It builds the project fine, but trying to build & deploy the apk produces errors (as follows) basically that it doesn’t like the fact the the new version was compiled with Java 8. It took me a few hours until I realized that CBL was the culprit.
Although the Android build script suggest trying to set ‘compatibility to 1.7’, it did not help.
I tried this back and forth a few times, With 1.2.1 it works ok, with the new 1.3 it does this:
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.
Error:1 error; aborting
Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’.
com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ‘command ‘C:\opt\jdk1.8.0_25\bin\java.exe’’ finished with non-zero exit value 1
— end quote ----
Now truth be told, possibly I am not including that 1.7 setting in the correct place, but I did try numerous ways based on googling StackOverflow, to no avail. Maybe you can tell me exactly where to include the 1.7 clause. Other than that, I’m back to 1.2.1