title: Can't Create SQLite Database in Xamarin.Android
body: <p>I'm trying to create a database using SQLite</p>
  
  <pre><code>           try {
                  _conn = new SQLiteConnection(_dbPath); 
                  _conn.CreateTable&lt;Product&gt;();                    
              }
              catch (Exception ex) {
                  throw ex;
              }
  </code></pre>
  
  <p>it is supposed to create database at <code>_dbPath</code> if it doesn't exist.</p>
  
  <p><code>_dbPath</code> value is <code>/storage/emulated/0/Phone Catalog/PhoneCatalogDatabase.db3</code> which is the default location when opening File Manager in Emulator(<a href="http://i.imgur.com/fYOT46x.png" rel="nofollow">http://i.imgur.com/fYOT46x.png</a>)</p>
  
  <p>I get exception saying: <code>Could not open database file: /storage/emulated/0/Phone Catalog/PhoneCatalogDatabase.db3 (CannotOpen)</code></p>
  
  <p>Any ideas why I get the message? Maybe there is a permission issue or something.</p>
  
  <p>P.S. here is <code>Products</code> class if you need to see it</p>
  
  <pre><code>[Table("Products")]
  public class Product {
      [PrimaryKey, AutoIncrement]
      public int Id { get; set; }
      public string Name { get; set; }
      public string Manufacturer { get; set; }
      public int Price { get; set; }
  }
  </code></pre>