- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Today I made a build of one app that I had builded several times in the last month. For iOS, the build was OK, but when I try to build in Crosswalk Android, the build process stop without a explicit error. See details:
- The App ID is "com.hamiltonhtsnet.com.br.confirmakiPro"
- The App Name is "ConfirmAki PRO: sua lista VIP"
- Crosswalk Version: 14.43.343.17
- Plugin "org.apache.cordova.device" (0.2.13) installed.
- Plugin "org.apache.cordova.splashscreen" (0.3.5) installed.
- Plugin "org.apache.cordova.network-information" (0.2.14) installed.
- Plugin "org.apache.cordova.vibration" (0.3.12) installed.
- Plugin "org.apache.cordova.dialogs" (0.2.11) installed.
- Plugin "org.apache.cordova.camera" (0.3.4) installed.
- Plugin "phonegap-plugin-barcodescanner" (4.0.1) installed.
- Plugin "com.brodysoft.sqlitePlugin" (1.0.6) installed.
After some tests, removing the plugins one by one, I noticed that the com.brodysoft.sqliteplugin is that is causing the issue.
Looking in the plugin page (https://github.com/brodysoft/Cordova-SQLitePlugin-2014.07), there isn´t any change for a long time.
I use this plugin this way:
"name": "com.brodysoft.sqliteplugin",
"origin": "com.brodysoft.sqliteplugin",
"originType": "cordova.io",
Where can be the problem? How to solve this? The problem can be in cordova repository?
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hamilton, you are right looks like they didn't change anything for the last 2 years.... but you can see a Warning:
WARNING: breaking change for Android version
The automatic ".db" database file extension is now removed for the Android version, for consistency with the iOS & WP8 versions. For an existing app, you may have to open an existing database like:
var db = window.sqlitePlugin.openDatabase({name: "my.db"});
I Just start a new application that I was looking for a local DB, and I have to make a decicion between the SQLLitePlugin and IndexedDB.
I just choose the IndexedDB because the SQLLite is no long supported... So in the future it's going to be a problem!
May you could try migrate your SQLLite code to Indexed DB that's looks a good solution as well!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Rodrigo> I saw this warning, but the problem is not during the use. When I try to build the XDK stop with no additional information. Change to Indexed CB is an option to the future...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hamilton, there is a newer version of that plugin, here: https://github.com/litehelpers/Cordova-sqlite-storage as referenced in the repo that you mentioned. I recommend you move to that version to see if it eliminates the problems you are encountering.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page