title: android.database.sqlite.SQLiteException: no such table
body: <p><strong>ISSUE</strong> (LogCat)</p>
  <blockquote>
  <p>sqlite returned: error code = 1, msg = no such table ...</p>
  <p>android.database.sqlite.SQLiteException: no such table: ....</p>
  </blockquote>
  <p><strong>CODE</strong></p>
  <pre><code>public void onCreate(SQLiteDatabase db) {
      Log.v(&quot;SQLAdapter&quot;,&quot;onCreate(SQLiteDatabase db)&quot;);
      db.execSQL(&quot;CREATE TABLE &quot;+tablename
              +&quot; (&quot;
              +col1+ &quot; TEXT PRIMARY KEY , &quot;
              +col2+ &quot; TEXT , &quot;
              +col3+ &quot; TEXT , &quot;
              +col4+ &quot; TEXT , &quot;
              +col5+ &quot; TEXT , &quot;
              +col6+ &quot; TEXT , &quot;
              +col7+ &quot; TEXT , &quot;
              +col8+ &quot; TEXT &quot;
              +&quot;)&quot;);
      db.execSQL(&quot;CREATE TABLE &quot;+configTable
              +&quot; (&quot;
              +colName+ &quot; TEXT PRIMARY KEY , &quot;
              +colValue+ &quot; TEXT &quot;
              +&quot;)&quot;);
      
      ContentValues cv=new ContentValues();
      cv.put(colName, &quot;updated&quot;);
      cv.put(colValue, &quot;-1&quot;);
      db.insert(configTable, colName, cv);
  }
  </code></pre>
  <p><strong>RESULT</strong></p>
  <blockquote>
  <p>configTable is being created</p>
  <p>tablename is not being created</p>
  </blockquote>