You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I have a DB and add it to my project(in asset). my db has some character in Persian language. when I want create database from and open it, eclipse show followed error:(in logcat)
01-08 14:38:47.156: ERROR/Database(23739): SELECT locale FROM android_metadata failed
01-08 14:38:47.235: ERROR/Database(23739): Failed to setLocale() when constructing, closing the database
01-08 14:38:47.235: ERROR/Database(23739): info.guardianproject.database.sqlcipher.SQLiteException: file is encrypted or is not a database
01-08 14:38:47.235: ERROR/Database(23739): at info.guardianproject.database.sqlcipher.SQLiteDatabase.native_setLocale(Native Method)
.
.
.01-08 14:38:48.795: ERROR/Database(23739): CREATE TABLE android_metadata failed
01-08 14:38:48.836: ERROR/Database(23739): Failed to setLocale() when constructing, closing the database
01-08 14:38:48.836: ERROR/Database(23739): info.guardianproject.database.sqlcipher.SQLiteException: file is encrypted or is not a database
01-08 14:38:48.836: ERROR/Database(23739): at info.guardianproject.database.sqlcipher.SQLiteDatabase.native_setLocale(Native Method)
.
.
.
01-08 14:38:48.865: ERROR/SQLiteOpenHelper(23739): Couldn't open nutrition.db.mp3 for writing (will try read-only):
01-08 14:38:48.865: ERROR/SQLiteOpenHelper(23739): info.guardianproject.database.sqlcipher.SQLiteException: file is encrypted or is not a database
01-08 14:38:48.865: ERROR/SQLiteOpenHelper(23739): at info.guardianproject.database.sqlcipher.SQLiteDatabase.native_setLocale(Native Method)
.
,
.
01-08 14:38:50.716: ERROR/AndroidRuntime(23739): FATAL EXCEPTION: main
01-08 14:38:50.716: ERROR/AndroidRuntime(23739): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tebyan.diet/com.tebyan.diet.StartTabBar}: info.guardianproject.database.sqlcipher.SQLiteException: file is encrypted or is not a database
01-08 14:38:50.716: ERROR/AndroidRuntime(23739): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
I think cipher can not make android_metadata table, but why?
I add this table manualy in DBMS but does not work!
thanks,
yarand
The text was updated successfully, but these errors were encountered:
Following up on your post, have you had any progress on this? Your stack trace references a file with the extension .mp3, is that in fact a database file or an audio file?
Hi
I have a DB and add it to my project(in asset). my db has some character in Persian language. when I want create database from and open it, eclipse show followed error:(in logcat)
01-08 14:38:47.156: ERROR/Database(23739): SELECT locale FROM android_metadata failed
01-08 14:38:47.235: ERROR/Database(23739): Failed to setLocale() when constructing, closing the database
01-08 14:38:47.235: ERROR/Database(23739): info.guardianproject.database.sqlcipher.SQLiteException: file is encrypted or is not a database
01-08 14:38:47.235: ERROR/Database(23739): at info.guardianproject.database.sqlcipher.SQLiteDatabase.native_setLocale(Native Method)
.
.
.01-08 14:38:48.795: ERROR/Database(23739): CREATE TABLE android_metadata failed
01-08 14:38:48.836: ERROR/Database(23739): Failed to setLocale() when constructing, closing the database
01-08 14:38:48.836: ERROR/Database(23739): info.guardianproject.database.sqlcipher.SQLiteException: file is encrypted or is not a database
01-08 14:38:48.836: ERROR/Database(23739): at info.guardianproject.database.sqlcipher.SQLiteDatabase.native_setLocale(Native Method)
.
.
.
01-08 14:38:48.865: ERROR/SQLiteOpenHelper(23739): Couldn't open nutrition.db.mp3 for writing (will try read-only):
01-08 14:38:48.865: ERROR/SQLiteOpenHelper(23739): info.guardianproject.database.sqlcipher.SQLiteException: file is encrypted or is not a database
01-08 14:38:48.865: ERROR/SQLiteOpenHelper(23739): at info.guardianproject.database.sqlcipher.SQLiteDatabase.native_setLocale(Native Method)
.
,
.
01-08 14:38:50.716: ERROR/AndroidRuntime(23739): FATAL EXCEPTION: main
01-08 14:38:50.716: ERROR/AndroidRuntime(23739): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tebyan.diet/com.tebyan.diet.StartTabBar}: info.guardianproject.database.sqlcipher.SQLiteException: file is encrypted or is not a database
01-08 14:38:50.716: ERROR/AndroidRuntime(23739): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
I think cipher can not make android_metadata table, but why?
I add this table manualy in DBMS but does not work!
thanks,
yarand
The text was updated successfully, but these errors were encountered: