-
The application Market (process com.android.vending) has stopped unexpectedly.
Guys,
I think my Market database is corrupted.
I can't install any app here.
I'm able to open the tool, browse, select the app I want to download install but when the download supposed to start the application crashes.
The application Market (process com.android.vending) has stopped unexpectedly.
I found an article to use sqlite3 hacking the database but I can't access the database:
C:\AndroidSDK\platform-tools>..\tools\sqlite3.exe /data/data/com.android.vending /databases/assets15.db "SELECT package_name FROM assets10 WHERE state='DOWNLOADING'";
Error: unable to open database "/data/data/com.android.vending/databases/assets1
5.db": unable to open database file
It happened right after try to install bigdx zoom themes, all the applications were restored but it seems that the database was corrupted.
Any idea?
Thanks!
-
06-05-2011 09:08 AM
# ADS
-
tried to remove all the vending databases (moving to a backup area) did not solve.
I was able to catch the java exception using adb logcat:
D/vending ( 1077): [24] AssetDownloader.downloadAndInstall(): Initiating Downloa
d for 1 applications.
D/vending ( 1077): [24] LocalAssetDatabase.notifyListener(): 818681902113279808
/ DOWNLOAD_PENDING
I/vending ( 1077): [24] DownloadManagerUtil.enqueueDownload(): Enqueue for downl
oad com.android.vending.util.DownloadManagerUtil$Reque st@4089d440
E/DatabaseUtils( 315): Writing exception to parcel
E/DatabaseUtils( 315): java.lang.SecurityException: Invalid value for is_public
_api: null
E/DatabaseUtils( 315): at com.android.providers.downloads.DownloadProvi
der.enforceAllowedValues(DownloadProvider.java:721 )
E/DatabaseUtils( 315): at com.android.providers.downloads.DownloadProvi
der.checkInsertPermissions(DownloadProvider.java:6 58)
E/DatabaseUtils( 315): at com.android.providers.downloads.DownloadProvi
der.insert(DownloadProvider.java:470)
E/DatabaseUtils( 315): at android.content.ContentProvider$Transport.ins
ert(ContentProvider.java:203)
E/DatabaseUtils( 315): at android.content.ContentProviderNative.onTrans
act(ContentProviderNative.java:153)
E/DatabaseUtils( 315): at android.os.Binder.execTransact(Binder.java:32
0)
E/DatabaseUtils( 315): at dalvik.system.NativeStart.run(Native Method)
W/dalvikvm( 1077): threadid=9: thread exiting with uncaught exception (group=0x4
0239760)
E/AndroidRuntime( 1077): FATAL EXCEPTION: Thread-24
E/AndroidRuntime( 1077): java.lang.SecurityException: Invalid value for is_publi
c_api: null
E/AndroidRuntime( 1077): at android.os.Parcel.readException(Parcel.java:1
322)
E/AndroidRuntime( 1077): at android.database.DatabaseUtils.readExceptionF
romParcel(DatabaseUtils.java:182)
E/AndroidRuntime( 1077): at android.database.DatabaseUtils.readExceptionF
romParcel(DatabaseUtils.java:136)
E/AndroidRuntime( 1077): at android.content.ContentProviderProxy.insert(C
ontentProviderNative.java:447)
E/AndroidRuntime( 1077): at android.content.ContentResolver.insert(Conten
tResolver.java:721)
E/AndroidRuntime( 1077): at com.android.vending.util.DownloadManagerUtil.
enqueueDownload(DownloadManagerUtil.java:25)
E/AndroidRuntime( 1077): at com.android.vending.AssetDownloader.startDown
load(AssetDownloader.java:158)
E/AndroidRuntime( 1077): at com.android.vending.AssetDownloader.downloadA
ndInstall(AssetDownloader.java:132)
E/AndroidRuntime( 1077): at com.android.vending.InstallAssetReceiver.hand
leIntent(InstallAssetReceiver.java:96)
E/AndroidRuntime( 1077): at com.android.vending.util.ServiceBroadcastRece
iver$1.run(ServiceBroadcastReceiver.java:48)
E/AndroidRuntime( 1077): at com.android.vending.util.WakelockedThread$Wak
elockedRunnable.run(WakelockedThread.java:38)
E/AndroidRuntime( 1077): at java.lang.Thread.run(Thread.java:1020)
I/global ( 858): Loaded time zone names for en_US in 790ms.
D/dalvikvm( 858): GC_CONCURRENT freed 1818K, 14% free 23830K/27655K, paused 4ms
+6ms
Last edited by flabombarda; 06-05-2011 at 09:32 AM.
-
Sometimes if you go to the market in settings there is an option to uninstall the update, that works some of the times. Also, try clearing the cache and data while you are there and reboot.
SGS-IV-Stock_Rooted
Nexus 4 - CyanMod 10.1
SGS-II - Rooted - Jedi Mind Trick VX3
Samsung Note II - Jedi Master 13
Motorola Xoom - WiFi - Rooted - EOS 4.2.1 Nightlies
-
Yup. Settings/apps/manage apps/all/market/wipe data/then retry
-
Wipe data and cache did not help.
I cant find the 'uninstall the update' setting.
Could you please guide me there?
-
Menu>settings>applications>manage applications>all - look for market sometimes but not always it says to uninstall update. This is where you need to clear the cache and data also you can go to market updater and see if there is cachce and data there too, if not force stop it, reboot and see if that helped.
SGS-IV-Stock_Rooted
Nexus 4 - CyanMod 10.1
SGS-II - Rooted - Jedi Mind Trick VX3
Samsung Note II - Jedi Master 13
Motorola Xoom - WiFi - Rooted - EOS 4.2.1 Nightlies
-
I was there, but I don't have this option to uninstall the update.
cache/data has been deleted.
Is Market updater another tool?
-
found market updater on system/app
ran it sucessfully but still having issues here
-
Only other thing I can think of is if you have Rom Manager you can run the fix permissions script from it. If my old brain thinks of anything else I'll post more.
SGS-IV-Stock_Rooted
Nexus 4 - CyanMod 10.1
SGS-II - Rooted - Jedi Mind Trick VX3
Samsung Note II - Jedi Master 13
Motorola Xoom - WiFi - Rooted - EOS 4.2.1 Nightlies
-
If you don't have Rom Manager, you can use a terminal emulator to type the script.
su (enter)
fix_permissions (enter)
SGS-IV-Stock_Rooted
Nexus 4 - CyanMod 10.1
SGS-II - Rooted - Jedi Mind Trick VX3
Samsung Note II - Jedi Master 13
Motorola Xoom - WiFi - Rooted - EOS 4.2.1 Nightlies