-1

When I use Sqlite in Android, file logcat in Eclipse display message is:

Can't downgrade database from 3 to 4

halfer
  • 19,471
  • 17
  • 87
  • 173
Hoangit
  • 11
  • 4

1 Answers1

1

possible reason for the exceptions are :

  • The device that you're running the code on has a database file of version 2.
  • onDowngrade() is not overridden in your code.
  • The code is requesting version 1 of the database (with a param to SQLiteOpenHelper constructor)
droidev
  • 7,104
  • 11
  • 60
  • 93