title: Fixing data path not found error with SQLite
body: <p>I've got the sqlite db working in the editor just fine. However when using it in Android, I get an error saying data path not found. </p>
  
  <p>I believe I have the needed libsqlite.so files in the correct plugins/ android folder and the other DLLs that the editor looks for. </p>
  
  <p>Here is my code:</p>
  
  <pre><code>string filepath = Application.dataPath + "/" + "Players.db"; //.db
  
  if(!File.Exists(filepath))
  {
      // if it doesn't -&gt;
      // open StreamingAssets directory and load the db -&gt;
  
      try {
          WWW loadDB = new WWW ("jar:file://" + Application.persistentDataPath + "!/Assets/" + "StreamingAssets/Players.db");  // .db this is the path to your StreamingAssets in android
  
          while (!loadDB.isDone) {
          }  // CAREFUL here, for safety reasons you shouldn't let this while loop unattended, place a timer and error check
  
          // then save to Application.persistentDataPath
  
          File.WriteAllBytes (filepath, loadDB.bytes);
      } catch (Exception ex) {
          GameObject.Find ("Advice").GetComponent&lt;Text&gt; ().text = ex.Message;
      }
  }
  </code></pre>