Saturday, October 3, 2015

Solving "Unfortunately the process has stopped" problem (on Android Emulator)

Not sure why, but, suddenly one of my Android Emulators started throwing out the " has stopped..." message. Unfortunately, it continuously throws that popup over and over again...

While googling around for the solutions - it seemed like there is some problem with the sqlite database of one of the telephony applications.

Logcat shows something like:
E/AndroidRuntime( 1293): android.database.sqlite.SQLiteException: Can't upgrade read-only database from version 327686 to 393222: /data/data/

To solve this some posts suggested clearing cache, unfortunately navigating to the menu was troublesome (and didn't really work for me), so I instead used:
$ adb shell
$ pm clear
$ rm /data/data/
(I guess, pm clear should work as well instead of the last command) 


No comments: