1 Reply Latest reply on Dec 30, 2016 9:21 AM by kerrishotts

    sqlilte plugin open db error

    nickc11160424 Level 1

      hello, when I try to open db using sqlite plugin, I get this error

       

      OPEN database: mySQLite.db FAILED, aborting any pending transactions

       

      same error when running in android emulator, or Intel xdk App Preview

       

      this is the code which I use

       

      $$(document).on('deviceready', function() {

          console.log("Device is ready!");

          db = window.sqlitePlugin.openDatabase({ name: "mySQLite.db", location: 'default' });

           

      })

       

       

      any help is greatly appreciated. I don't mind using another plugin if you can suggest to me