title: After create or edit database with "SQLite Database Browser" android can't to open database
body: <p>I want to pre-create database for my android app. I use <strong>"SQLite Database Browser"</strong> and after create my database, i have copy the database to app folder <strong>"databases"</strong>. In my app side i have add permission to write in sdcard (if need it)</p>
  
  <pre><code>    &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  </code></pre>
  
  <p>and my code to open the database is:</p>
  
  <pre><code>    String myPath = getApplicationContext().getFilesDir().getAbsolutePath().replace("files","databases")+ File.separator + "mydb.db";
      db = SQLiteDatabase.openOrCreateDatabase(myPath, null);
  </code></pre>
  
  <p>Android can't to open my database and showing this error:</p>
  
  <pre><code>    android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
  </code></pre>
  
  <p>I have try the followings:</p>
  
  <ul>
  <li>I have open the database file with <strong>Notepad++</strong> and i confirmed the SQL format <strong>"SQLite format 3"</strong> in the header of the file.</li>
  <li><p>I have add <strong>"android_metadata"</strong> table from <strong>"SQLite Database Browser"</strong> with this SQL statement:</p>
  
  <pre><code>CREATE TABLE "android_metadata" ("locale" TEXT DEFAULT 'en_US');
  INSERT INTO "android_metadata" VALUES ('en_US')
  </code></pre></li>
  <li><p>I have try to delete my database file from android and run my app to check if code can create database with this name and all it's ok, dabase created with no problems, after that i have run again my app to check if it can open the database and opening with no problems. I have create all tables i need it with android code and after succesfully database created, i have copy this file back to windows and opening with <strong>"SQLite Database Browser"</strong> to insert few data into table and after save changes, copy again back to android, but my app it can't to open it again!</p></li>
  </ul>
  
  <p>I'm confused, where is the problem? Why if i try to edit or create database with <strong>"SQLite Database Browser"</strong> android it can't to open this?</p>
  
  <p>Sorry for my english...</p>
  
  <p>*Version of "SQLite Database Browser" is 3.9.1</p>