Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49184

Cordova-plugin-sqlite could not open database on Android

$
0
0

@HappyHappyJoyJoy wrote:

Hi there,

customer told me, the app I wrote does not work on his Android 5.1 tablet. After logcatting the app I see following in the console:

[INFO:CONSOLE(171)] "OPEN database: myDB.db", source: file:///android_asset/www/plugins/cordova-plugin-sqlite/www/SQLitePlugin.js (171)
[INFO:CONSOLE(102)] "new transaction is waiting for open operation", source: file:///android_asset/www/plugins/cordova-plugin-sqlite/www/SQLitePlugin.js (102)
[INFO:CONSOLE(192)] "OPEN database: myDB.db failed, aborting any pending transactions", source: file:///android_asset/www/plugins/cordova-plugin-sqlite/www/SQLitePlugin.js (192)
[INFO:CONSOLE(79)] "Could not open database", source: file:///android_asset/www/plugins/cordova-plugin-sqlite/www/SQLitePlugin.js (79)

Any clues, why this is happening? In the past on other test drives I saw a similar error message. I just reinstalled the cordova-plugin-sqlite 1.0.3 ( http://ngcordova.com/docs/plugins/sqlite/ ) and the error was gone. But this time simple reinstallation is not the answer. So why can't it open the DB?

The versions I use:
Ionic 1.7.14
Cordova 6.1.1
Bower 1.7.9
npm 2.11.3

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>