android.database.sqlite.SQLiteException: table key_value already exists: CREATE TABLE key_value (key TEXT NOT NULL, value TEXT NOT NULL, PRIMARY KEY(key))

GitHub | GoogleCodeExporter | 2 years ago
  1. 0

    [Market] SQLiteException onUpgrade() "table key_value_already exists"

    GitHub | 2 years ago | GoogleCodeExporter
    android.database.sqlite.SQLiteException: table key_value already exists: CREATE TABLE key_value (key TEXT NOT NULL, value TEXT NOT NULL, PRIMARY KEY(key))
  2. 0

    Android sqlLite create table

    Stack Overflow | 4 years ago | Victor Kiricheiko
    java.lang.RuntimeException: Unable to create application com.activeandroid.app.Application: android.database.sqlite.SQLiteException: duplicate column name: id: CREATE TABLE IF NOT EXISTS Quote (Id INTEGER PRIMARY KEY AUTOINCREMENT, author TEXT, id INTEGER, text TEXT);
  3. 0

    SQLiteException: near "references": syntax error: CREATE TABLE references(_id INTEGER PRIMARY KEY AUTOINCREMENT,class TEXT,requestCode TEXT)

    Stack Overflow | 3 years ago | Lisa Anne
    android.database.sqlite.SQLiteException: near "references": syntax error: CREATE TABLE references(_id INTEGER PRIMARY KEY AUTOINCREMENT,class TEXT,requestCode TEXT)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Force close with the ListActivity using ArrayAdapter

    Stack Overflow | 3 years ago | Bogman
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.testmysdkdb/com.example.testmysdkdb.MainActivity}: android.database.sqlite.SQLiteException: near "autoincreament": syntax error: create table comments(_idinteger primary key autoincreament, commenttext not null);
  6. 0

    runtime error about FriendsDBHelper

    Stack Overflow | 3 years ago | Thanapoom Na Nakhon
    android.database.sqlite.SQLiteException: near "CREATE_TABLEfriends": syntax error: CREATE_TABLEfriends(id INTEGER PRIMARY KEY AUTOINCREMAENT,fname text(20), lname text(30), nickanme text(20))

  1. Mathan Chinna 1 times, last 4 months ago
  2. mathan m 1 times, last 4 months ago
  3. bayukresno 1 times, last 7 months ago
  4. jk 33 times, last 7 months ago
  5. dmitry 2 times, last 8 months ago
1 more registered users
20 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.database.sqlite.SQLiteException

    table key_value already exists: CREATE TABLE key_value (key TEXT NOT NULL, value TEXT NOT NULL, PRIMARY KEY(key))

    at android.database.sqlite.SQLiteDatabase.native_execSQL()
  2. Android Platform
    SQLiteDatabase.execSQL
    1. android.database.sqlite.SQLiteDatabase.native_execSQL(Native Method)
    2. android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1763)
    2 frames