java.lang.RuntimeException: Unable to start activity ComponentInfo{com.meiyiyou.simpletodo/com.meiyiyou.simpletodo.MainActivity}: android.database.sqlite.SQLiteException: no such table: Item (code 1): , while compiling: SELECT ALL * FROM Item

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by bfxzyn
, 1 year ago
Unable to start activity ComponentInfo{com.meiyiyou.simpletodo/com.meiyiyou.simpletodo.MainActivity}: android.database.sqlite.SQLiteException: no such table: Item (code 1): , while compiling: SELECT ALL * FROM Item
via Stack Overflow by Paskahlis Anjas Prabowo
, 3 months ago
Unable to start activity ComponentInfo{com.kahl.silir/com.kahl.silir.main.history.MeasurementResultActivity}: android.database.sqlite.SQLiteException: no such table: results (code 1): , while compiling: SELECT count(*) FROM results
via Stack Overflow by Nikhil
, 2 years ago
Unable to start activity ComponentInfo{com.nikhilp.thecashcontroller/com.nikhilp.thecashcontroller.activity.MainActivity}: android.database.sqlite.SQLiteException: no such table: expenses (code 1): , while compiling: SELECT * FROM expenses
via Stack Overflow by Arshad Ali
, 7 months ago
Unable to start activity ComponentInfo{org.ast.labs.schedule/org.ast.labs.schedule.activity.MainActivity}: android.database.sqlite.SQLiteException: no such table: APPOINTMENT (code 1): , while compiling: SELECT * FROM APPOINTMENT
via Stack Overflow by nktsamba
, 2 years ago
Unable to start activity ComponentInfo{zw.co.pindula.funsa/zw.co.pindula.funsa.util.Category}: android.database.sqlite.SQLiteException: no such table: categories (code 1): , while compiling: SELECT * FROM categories
via Stack Overflow by Akash Dubey
, 2 years ago
Unable to start activity ComponentInfo{com.google.android.gms.samples.vision.barcodereader/com.google.android.gms.samples.vision.barcodereader.HistoryActivity}: android.database.sqlite.SQLiteException: no such table: pbstable (code 1): , while compiling: select * from pbstable
android.database.sqlite.SQLiteException: no such table: Item (code 1): , while compiling: SELECT ALL * FROM Item
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
at android.database.sqlite.SQLiteProgram.(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteQuery.(SQLiteQuery.java:37)
at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:44)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1316)
at com.activeandroid.Model.rawQuery(Model.java:349)
at com.activeandroid.query.From.execute(From.java:155)
at com.meiyiyou.simpletodo.MainActivity.showAllItems(MainActivity.java:125)
at com.meiyiyou.simpletodo.MainActivity.onCreate(MainActivity.java:40)
at android.app.Activity.performCreate(Activity.java:5990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)

Users with the same issue

12 times, 4 days ago
40 times, 2 months ago
347 times, 2 months ago
9 times, 3 months ago
Once, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.