NSB 9.0.4.3 voltbuilder not work in Android 6

I have an existing project build apk, it used to work in both Android 6 and android 9 mobile. When I changed the DB = SqlOpenDatabase(“localStorage”,… The new apk work only in Android 9 mobile, but not in Android 6. It show the error “Uncaught ReferenceError: SqlOpenDatabase is not defined.”

Any solution?

Can you hook up the remote debugger and see if there are other messages on the console?

Generally, we support versions of Android and iOS which are on more than 5% of devices. Android 6 is currently on about 3%.

How to hook up the remote debugger to see the android native app? I can use the chorme remote debugger to inspect the android’s chrome browser only.

I build the native apk of sample project - SQLSample3 (Adding “” in the config.xml file). The apk work fine in Android 9 device, but in the Android 6 device, it show “Uncaught ReferenceError. SqlOpenDatabase is not defined” when I click the “Open Database” button.

Any solution?

This is probably caused by an update to Chrome on the device, not the new version of AppStudio. The latest versions of Chrome drop support for SQLite.

There are workarounds. More information is here:
https://wiki.appstudio.dev/Using_SQLite_with_Chrome_119

Native apk also required the Chrome? My Android 6 device is no Chrome installed.

It probably does have Chrome installed - I seem to recall (this is a long time ago) that Google replaced the internals of the Android browser with Chrome. Otherwise, it would be hopelessly broken today.