Jump to content
Sign in to follow this  
salimdz

SQLiteException: Can't upgrade read-only database from version 5 to 3

Recommended Posts

Bonjour,

j'ai ce message d'erreur dans les rapports d'erreur de mon application sur le market

Classe d exception
android.database.sqlite.SQLiteException

Méthode source
SQLiteOpenHelper.getReadableDatabase()

Caused by: android.database.sqlite.SQLiteException: Can't upgrade read-only database from version 5 to 3: /data/data/dz.algerie.android.information/databases/walgerie.db
at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:244)
at dz.algerie.android.information.Provider.onCreate(Provider.java:401)
at android.content.ContentProvider.attachInfo(ContentProvider.java:944)
at android.app.ActivityThread.installProvider(ActivityThread.java:4237)

merci d'avance, j'attend votre aide

a+

Share this post


Link to post
Share on other sites

le fichier présent sur le système est en 5 or l'application tente d'upgrader en version 3 oO

vérifie les versions des bases.

Share this post


Link to post
Share on other sites

bonjour

merci pour votre reponse

dans ma dernier base le version elle est 6 cardre rouge

versionbase.jpg

peut etre une ancien version !!!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  





×
×
  • Create New...