MarschOSX / Responder

Senior Design I project for an Android auto-response application
0 stars 0 forks source link

DBHelper, cannot run on Simulator #33

Closed MarschOSX closed 8 years ago

MarschOSX commented 8 years ago

When attempting to run on GenyMotion simulator, pressing any button causes it to crash. Caused in DBHelper, the SQL in the following function:

@Override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { for(String table : TABLE_LIST){ db.execSQL("DROP IF TABLE EXISTS " + table); } }

Will this affect deployment to a device???