android.database.sqlite.SQLiteCantOpenDatabaseException仅供MD_LIFETAB_P9516仅供、database、android、sqlite

由网友(遗忘丶过去的痛)分享简介:在我的分析工具,我可以看到,有一个与MD_LIFETAB_P9516(Medion公司Lifetab)崩溃的一个明显的量。他们崩溃与下面给出的堆栈跟踪。In my analytics tool, I can see that there is a noticeable amount of crashes with t...

在我的分析工具,我可以看到,有一个与MD_LIFETAB_P9516(Medion公司Lifetab)崩溃的一个明显的量。他们崩溃与下面给出的堆栈跟踪。

In my analytics tool, I can see that there is a noticeable amount of crashes with the MD_LIFETAB_P9516 (Medion Lifetab). They are crashing with the stacktrace given below.

它不与任何其他设备发生,虽然。在分析,我可以看到,在所有的情况下有足够的可用磁盘空间。我DatabaseHelper什么特别的。有一个OnCreate()中的几个execSQL语句,空onUpgrade()和truncateAll()崩溃在以下行:

It doesn't happen with any other device, though. In the analytics, I can see that in all cases there was enough free disk space. My DatabaseHelper is nothing special. There is an onCreate() with a few execSQL statements, an empty onUpgrade() and truncateAll() crashes at the following line:

    SQLiteDatabase db = getWritableDatabase();

堆栈跟踪:

0   android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file
1   at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
2   at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1013)
3   at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:986)
4   at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1051)
5   at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:770)
6   at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:221)
7   at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:157)
8   at com.unitedinternet.portal.android.photo.database.DatabaseHelper.getWritableDatabase(DatabaseHelper.java:61)
9   at com.unitedinternet.portal.android.photo.database.DatabaseHelper.truncateAll(DatabaseHelper.java:162)
10  at com.unitedinternet.portal.android.photo.activity.LoginActivity.onAuthenticationResult(LoginActivity.java:195)
11  at com.unitedinternet.portal.android.photo.activity.LoginRunnable$1.run(LoginActivity.java:305)
12  at android.os.Handler.handleCallback(Handler.java:605)
13  at android.os.Handler.dispatchMessage(Handler.java:92)
14  at android.os.Looper.loop(Looper.java:137)
15  at android.app.ActivityThread.main(ActivityThread.java:4424)
16  at java.lang.reflect.Method.invokeNative(Native Method)
17  at java.lang.reflect.Method.invoke(Method.java:511)
18  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
19  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
20  at dalvik.system.NativeStart.main(Native Method)

任何想法,可能是什么引起的问题?你会在哪里看看?

Any idea, what might be causing the problem? Where would you look into?

推荐答案

在一些调查,我发现崩溃是ICS更新后发生的事情经常。不知怎的,他们设法破坏应用程序数据对于很多(所有?)的应用程序。

After some more investigation, I found out that crashes are happening quite often after the ICS update. Somehow they managed to destroy the application data for many (all?) apps.

Medion公司建议重新安装所有的应用程序破碎。似乎有什么我们第三方开发人员可以做的。

Medion recommends to re-install all broken apps. There seems to be nothing we 3rd-party developers can do about it.

另外(德文)阅读:http://www.n-droid.de/android-4-0-update-fur-medion-lifetab-probleme-und-losungsansatze-im-uberblick.html

阅读全文

相关推荐

最新文章