I want to link my ionic app with a database, but i got some errors.
I am running the app in an android device using the google chrome DevTools to see what's happening behind.

Take a look to the createDatabase() function and the error i got.

```js
createDatabase() {
    this.plt.ready().then(() => {
      if (this.plt.is('cordova')) {
        this.sqlite = new SQLite();
        this.sqlite.create({
          name: 'ocp_database_fuits.db',
          location: 'default'
        }).then((db: SQLiteObject) => {
          this.database = db;
          this.createTables();
        }).catch(e => {
          console.log(e);
        });
      }
    });
  }

```

> 
> OPEN database: ocp\_database\_fuits.db
> 
> 
> SQLitePlugin.js:197 OPEN database: ocp\_database\_fuits.db 
> 
> 
> FAILED, aborting any pending transactions
>  main.js:686 Error: Could not open database
> 
> 
> 
> ```
>   at newSQLError (SQLitePlugin.js:26)
>   at SQLitePlugin.js:199
>   at Object.callbackFromNative (cordova.js:290)
>   at <anonymous>:1:9
> 
> ```
> 
>