尝试从市场上下载应用程序时的android市场应用程序

时间:2012-02-24 06:38:36

标签: google-play

02-23 00:06:39.120: E/DatabaseUtils(1911): Writing exception to parcel
02-23 00:06:39.120: E/DatabaseUtils(1911): java.lang.SecurityException: Invalid value for is_public_api: null
02-23 00:06:39.120: E/DatabaseUtils(1911):  at com.android.providers.downloads.DownloadProvider.enforceAllowedValues(DownloadProvider.java:795)
02-23 00:06:39.120: E/DatabaseUtils(1911):  at com.android.providers.downloads.DownloadProvider.checkInsertPermissions(DownloadProvider.java:714)
02-23 00:06:39.120: E/DatabaseUtils(1911):  at com.android.providers.downloads.DownloadProvider.insert(DownloadProvider.java:472)
02-23 00:06:39.120: E/DatabaseUtils(1911):  at android.content.ContentProvider$Transport.insert(ContentProvider.java:189)
02-23 00:06:39.120: E/DatabaseUtils(1911):  at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:152)
02-23 00:06:39.120: E/DatabaseUtils(1911):  at android.os.Binder.execTransact(Binder.java:338)
02-23 00:06:39.120: E/DatabaseUtils(1911):  at dalvik.system.NativeStart.run(Native Method)
02-23 00:06:39.121: W/dalvikvm(3040): threadid=23: thread exiting with uncaught exception (group=0xa000f180)
02-23 00:06:39.124: E/AndroidRuntime(3040): FATAL EXCEPTION: download-manager-thread
02-23 00:06:39.124: E/AndroidRuntime(3040): java.lang.SecurityException: Invalid value for is_public_api: null
02-23 00:06:39.124: E/AndroidRuntime(3040):     at android.os.Parcel.readException(Parcel.java:1327)
02-23 00:06:39.124: E/AndroidRuntime(3040):     at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:181)
02-23 00:06:39.124: E/AndroidRuntime(3040):     at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
02-23 00:06:39.124: E/AndroidRuntime(3040):     at android.content.ContentProviderProxy.insert(ContentProviderNative.java:415)
02-23 00:06:39.124: E/AndroidRuntime(3040):     at android.content.ContentResolver.insert(ContentResolver.java:730)
02-23 00:06:39.124: E/AndroidRuntime(3040):     at com.google.android.finsky.download.DownloadManagerImpl$1.run(DownloadManagerImpl.java:44)
02-23 00:06:39.124: E/AndroidRuntime(3040):     at android.os.Handler.handleCallback(Handler.java:605)
02-23 00:06:39.124: E/AndroidRuntime(3040):     at android.os.Handler.dispatchMessage(Handler.java:92)
02-23 00:06:39.124: E/AndroidRuntime(3040):     at android.os.Looper.loop(Looper.java:137)
02-23 00:06:39.124: E/AndroidRuntime(3040):     at android.os.HandlerThread.run(HandlerThread.java:60)

任何人都可以帮我解决上述崩溃问题吗?

3 个答案:

答案 0 :(得分:11)

尝试在/system/app/Vending.apk中移动市场应用程序(您需要在设备上成为root用户)。

  1. 删除已安装的apk(包含缓存和数据)
  2. 将apk复制到SD卡(例如gglply3.5.19.apk
  3. 使用adb shell
    $ su
    # ls -l /sdcard/gglply3.5.19.apk (check the size!)
    # mount -o remount,rw /dev/block/mtdblock3 /system
    # cat /sdcard/gglply3.5.19.apk > /system/app/Vending.apk
    # chmod 644 /system/app/Vending.apk
    # ls -l /system/app/Vending.apk (re-check the size!)
    # mount -o remount,ro /dev/block/mtdblock3 /system
    
  4. 重新启动设备

答案 1 :(得分:1)

有同样的问题。我唯一可以修复的方法是通过恢复来重新刷新gapps包。

答案 2 :(得分:0)

对我来说,只需删除Playstore apk:\ system \ app \ com.android.vending- 版本并将其替换为从网上下载的最新版本。

虽然需要Root访问权限。