最小化app时NameNotFoundException

时间:2014-12-19 23:55:21

标签: android android-package-managers

我有一个Android应用程序,当我最小化它(进入主屏幕)我在logcat上遇到这个错误,我不知道是什么导致它,因为它没有被某些人抛出我的代码行。我在网上搜索但一无所获。任何的想法?如果我没有正确发布,请询问更多信息。

谢谢。

12-19 20:45:19.091    3178-3178/? I/RemoteViews.Performance﹕ apply:com.foxygames.gcm prepareContext:4 inflateContent:56 performApply:14 actionsCount:11 bitmapMemory:0.0
12-19 20:45:19.096    3178-3178/? W/ContextImpl﹕ Failed to check package's status, pkg:com.foxygames.gcm
    android.content.pm.PackageManager$NameNotFoundException: Application package com.foxygames.gcm is uninstalling.
            at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:2028)
            at android.content.ContextWrapper.createPackageContextAsUser(ContextWrapper.java:599)
            at android.widget.RemoteViews.prepareContext(RemoteViews.java:2349)
            at android.widget.RemoteViews.apply(RemoteViews.java:2266)
            at com.android.systemui.statusbar.BaseStatusBar.inflateViews(BaseStatusBar.java:806)
            at com.android.systemui.statusbar.BaseStatusBar.addNotificationViews(BaseStatusBar.java:1031)
            at com.android.systemui.statusbar.phone.PhoneStatusBar.addNotification(PhoneStatusBar.java:1018)
            at com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:290)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:158)
            at android.app.ActivityThread.main(ActivityThread.java:5751)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:511)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1083)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:850)
            at dalvik.system.NativeStart.main(Native Method)
12-19 20:45:19.116    3178-3178/? I/RemoteViews.Performance﹕ apply:com.foxygames.gcm prepareContext:2 inflateContent:15 performApply:5 actionsCount:16 bitmapMemory:0.0

0 个答案:

没有答案