After upgrade, it prompts "android.process.acore" to stop execution--analysis solution

Source: Internet
Author: User

OTA upgrade, upgrade caused by all the problems can be explained, some can solve, and some cannot solve.


A project reported the problem.

Power on after upgrade to prompt "Android.process.acore" to stop execution


Grab the ADB log and see the following fatal log


11-06 14:40:33.633 3827 3827 E androidruntime:fatal exception:main
11-06 14:40:33.633 3827 3827 E AndroidRuntime:Process:android.process.acore, pid:3827
11-06 14:40:33.633 3827 3827 E AndroidRuntime:java.lang.RuntimeException:Unable to get provider Com.android.providers. Contacts. CallLogProvider:android.database.sqlite.SQLiteException:Can ' t downgrade database from version 851 to 850
11-06 14:40:33.633 3827 3827 E androidruntime:At Android.app.ActivityThread.installProvider (activitythread.java:5043)
11-06 14:40:33.633 3827 3827 E androidruntime:At Android.app.ActivityThread.installContentProviders (activitythread.java:4614)
11-06 14:40:33.633 3827 3827 E androidruntime:At Android.app.ActivityThread.handleBindApplication (activitythread.java:4547)
11-06 14:40:33.633 3827 3827 E androidruntime:At android.app.activitythread.access$1500 (activitythread.java:151)
11-06 14:40:33.633 3827 3827 E androidruntime:At Android.app.activitythread$h.handlemessage (activitythread.java:1402)
11-06 14:40:33.633 3827 3827 E androidruntime:At Android.os.Handler.dispatchMessage (handler.java:110)
11-06 14:40:33.633 3827 3827 E androidruntime:At Android.os.Looper.loop (looper.java:193)
11-06 14:40:33.633 3827 3827 E androidruntime:At Android.app.ActivityThread.main (activitythread.java:5324)
11-06 14:40:33.633 3827 3827 E androidruntime:At Java.lang.reflect.Method.invokeNative (Native Method)
11-06 14:40:33.633 3827 3827 E androidruntime:At Java.lang.reflect.Method.invoke (method.java:515)
11-06 14:40:33.633 3827 3827 E androidruntime:At Com.android.internal.os.zygoteinit$methodandargscaller.run (zygoteinit.java:829)
11-06 14:40:33.633 3827 3827 E androidruntime:At Com.android.internal.os.ZygoteInit.main (zygoteinit.java:645)
11-06 14:40:33.633 3827 3827 E androidruntime:At Dalvik.system.NativeStart.main (Native Method)


There is a problem with the database from log to see the Om.android.providers.contacts contact module. The solution to the problem is Can ' t downgrade database from version 851 to 850. So. You cannot demote a database from the advanced version number to a lower version number database. This should be caused by the limitations of Android.


Google for what?

Stackvoerflow someone explained, let's say you inherit the following Ondowngrade to be able. But the contact is not able to do so ~ ~

You is usingAndroid SQLiteOpenHelper, you need to overrideonDowngradeIf you want to is able to run your application with a database on the device with a higher version than your code can handle.

Should care about this "Database Version thing" if ever your the database schema is ever going to There is good chance it would).


Workaround: Back up the contact data first.

(Preferably a network backup, the full backup of the DB may not be effective)

Method One

1 Settings-Application Management--contacts--Empty data 2 settings-Application management--dial pad-empty data


Method Two, set-Restore factory settings-erase all data. And then you take the initiative to reboot to recovery and then you can--just wait a minute.


After upgrade, it prompts "android.process.acore" to stop execution--analysis solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.