Something changed in Voltbuilder this after noon between about 1:30 pm and 3:00 pm. In was able to buld my app (in debug mode) without any errors at 1:42 pm and then when I was trying to rebuild it (in release mode) at 3:03 pm, I got the follwoing error:
“FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ‘:app:compileReleaseJavaWithJavac’.
Compilation failed; see the compiler output below.
/platforms/android/app/src/main/java/io/sqlc/SQLitePlugin.java:414: error: cannot access EVNDKDriver
long dboc = EVNDKDriver.sqlc_new_ev_dboc();
”
I have compaired log files between the earlier good build and the later failed build and nothing was changed in my code. (I can send you the two log files if you need).
Please help resolve this issue as I need to get a release build out to my customers.
When I checked the logs again, I could see that the version of the plugin changed from 0.18.0 to 0.19.0 during the time between my 2 builds. If I specify the version 0.18.0 in my config.xml (see below) it compiles without any errors. So I am assuming that it must be something in the latest version that is causing the build to fail.
We’ve discovered a problem with cordova-sqlite-evcore-extbuild-freethat we’d like to inform everyone about. A new version was just released two days ago that is incompatible with Cordova’s JDK (version 17). We’ve submitted an issue and the developer has confirmed it. Until a new version is released we suggest sticking with version 0.18.0.