Google Play商店每次打开它时都会突然崩溃

时间:2016-10-25 03:20:22

标签: android crash google-play google-play-services

在我经常使用Nexus 5时,Google Play商店每次尝试打开时都会崩溃。 所以,我试着得到错误的日志,这里是:

11664-11664/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.android.vending, PID: 11664
                                               java.lang.RuntimeException: Unable to create application com.google.android.finsky.FinskyApp: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.AppOpsManager.checkPackage(int, java.lang.String)' on a null object reference
                                                   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4710)
                                                   at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
                                                   at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
                                                   at android.app.ActivityThread.handleBindApplication(<Xposed>)
                                                   at android.app.ActivityThread.-wrap1(ActivityThread.java)
                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
                                                   at android.os.Handler.dispatchMessage(Handler.java:102)
                                                   at android.os.Looper.loop(Looper.java:148)
                                                   at android.app.ActivityThread.main(ActivityThread.java:5417)
                                                   at java.lang.reflect.Method.invoke(Native Method)
                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
                                                   at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
                                                Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.AppOpsManager.checkPackage(int, java.lang.String)' on a null object reference
                                                   at android.os.Parcel.readException(Parcel.java:1605)
                                                   at android.os.Parcel.readException(Parcel.java:1552)
                                                   at android.content.pm.IPackageInstaller$Stub$Proxy.getMySessions(IPackageInstaller.java:385)
                                                   at android.content.pm.PackageInstaller.getMySessions(PackageInstaller.java:415)
                                                   at com.google.android.finsky.installer.PackageInstallerImpl.<init>(PackageInstallerImpl.java:71)
                                                   at com.google.android.finsky.installer.PackageInstallerFactory.init(PackageInstallerFactory.java:23)
                                                   at com.google.android.finsky.FinskyApp.onCreate(FinskyApp.java:387)
                                                   at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
                                                   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)
                                                   at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method) 
                                                   at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334) 
                                                   at android.app.ActivityThread.handleBindApplication(<Xposed>) 
                                                   at android.app.ActivityThread.-wrap1(ActivityThread.java) 
                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405) 
                                                   at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                   at android.os.Looper.loop(Looper.java:148) 
                                                   at android.app.ActivityThread.main(ActivityThread.java:5417) 
                                                   at java.lang.reflect.Method.invoke(Native Method) 
                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 
                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 
                                                   at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102) `

我试图在线查找此错误,但找不到任何内容。我认为它与某些系统应用程序有关,该应用程序的某个权限未经批准(我不知道哪个可能是那个),或者可能与我的Xposed Framework安装有关。

它可能是什么? 谢谢你的帮助。

1 个答案:

答案 0 :(得分:-2)

它没有看到任何其他问题尝试在空对象引用上调用虚方法'void android.app.AppOpsManager.checkPackage(int,java.lang.String)'。你调用了一些空对象引用。