Just a quick one.
I noticed when updating a clients B4A application that only the #AdditionalJar: mariadb-java-client-1.1.8.jar that the app was originally created with works in B4A, #AdditionalJar: mariadb-java-client-2.4.2.jar or #AdditionalJar: mariadb-java-client-2.5.4.jar causes the following compilation error.
It does not bother me at all as I will just keep using #AdditionalJar: mariadb-java-client-1.1.8.jar as it works perfect and always has done. I just fancied updating the Connector/J to the newest version as I use the newest version in the same clients B4J desktop application. By the way all the aforementioned mariadb-java-client files work in B4J, but only the earlier files works in B4A.
There's absolutely no need for my client to use jRDC2, so don't mention it.
Cheers...
I noticed when updating a clients B4A application that only the #AdditionalJar: mariadb-java-client-1.1.8.jar that the app was originally created with works in B4A, #AdditionalJar: mariadb-java-client-2.4.2.jar or #AdditionalJar: mariadb-java-client-2.5.4.jar causes the following compilation error.
It does not bother me at all as I will just keep using #AdditionalJar: mariadb-java-client-1.1.8.jar as it works perfect and always has done. I just fancied updating the Connector/J to the newest version as I use the newest version in the same clients B4J desktop application. By the way all the aforementioned mariadb-java-client files work in B4J, but only the earlier files works in B4A.
B4A Version: 9.80
Java Version: 11
Parsing code. (0.00s)
Building folders structure. (0.03s)
Compiling code. (0.04s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Generating R file. (0.00s)
Compiling debugger engine code. (0.00s)
Compiling generated Java code. (0.00s)
Convert byte code - optimized dex. Error
Picked up _JAVA_OPTIONS: -Xmx1024m -Xms1024m -XX:-UseGCOverheadLimit
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Translation has been interrupted
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:692)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:315)
at com.android.dx.command.dexer.Main.runDx(Main.java:293)
at com.android.dx.command.dexer.Main.main(Main.java:249)
at com.android.dx.command.Main.main(Main.java:94)
Caused by: java.lang.InterruptedException: Too many errors
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:684)
... 4 more
There's absolutely no need for my client to use jRDC2, so don't mention it.
Cheers...