title: Unity Android build gives DirectoryNotFoundException for file in Application.streamingAssetsPath
body: <p>I'm working on an application with a SQLite embedded database. In the editor and the build of PC accesses the database without problems. However, when it comes to the build of Android, I test it on a device and for some reason unknown to me is not working.</p>
  
  <p>I followed the steps of some official forum guides. I have also added the plugins folder of this project:</p>
  
  <p><a href="https://github.com/codecoding/SQLite4Unity3d" rel="nofollow">https://github.com/codecoding/SQLite4Unity3d</a></p>
  
  <p>Despite this, I still can not run the database after the build.</p>
  
  <pre><code>conn = (Applicaiton.streamingAssetsPath + "/Database.sqlite");
  filepath = (Application.persistentDataPath + "/Database.sqlite");
  WWW dbPath = new WWW(conn);
  while (!dbPath.isDone) {}
  
  byte[] bytes = System.IO.File.ReadAllBytes(dbPath.url);
  File.WriteAllBytes(filepath, bytes);
  connection = ("URI=file:" + Application.persistentDataPath + "/Database.sqlite");
  dbconn = (IDbConnection)new SqliteConnection(connection);
  </code></pre>
  
  <p>I pulled log data with ADB and found this:</p>
  
  <pre><code>06-01 22:29:05.180: I/Unity(5835): DirectoryNotFoundException: Could not find a part of the path "/jar:file:/data/app/com.Company.App-1.apk!/assets/Database.sqlite"
  </code></pre>