简体   繁体   English

从Google Play下载时找不到应用程序类异常

[英]Application class not found Exception when download from Google Play

I updated an app in goolge play store with a new version.Now if app open then Application class not found exception occurs. 我使用新版本更新了Goolge Play商店中的某个应用。现在,如果该应用已打开,则会发生“找不到应用程序类”的异常。

App works fine if the apk install directly .But not from play store. 如果apk直接安装,则应用运行正常,但不能从Play商店下载。

Crash analytics report says 崩溃分析报告说

java.lang.RuntimeException: Unable to instantiate application com.xxx.xx.GetJsonArrayFromChannelUrl: java.lang.ClassNotFoundException: Didn't find class "com.xxx.xxx.GetJsonArrayFromChannelUrl" on path: /data/app/com.xx.xx-2.apk
at android.app.LoadedApk.makeApplication(LoadedApk.java:504)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4584)
at android.app.ActivityThread.access$1400(ActivityThread.java:158)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:5365)
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:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.xxxx.fetchdata.GetJsonArrayFromChannelUrl" on path: /data/app/com.xx.xx-2.apk
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
at android.app.Instrumentation.newApplication(Instrumentation.java:985)
at android.app.LoadedApk.makeApplication(LoadedApk.java:499)

Follow these steps. 跟着这些步骤。

  • Clean your libraries 清理图书馆
  • Right click on project > Android Tools > Fix Project properties 右键单击项目> Android工具>修复项目属性
  • Project > Clean 项目>清洁

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从Play商店下载时未找到类异常 - Class Not Found Exception when downloaded from Play Store 即使添加播放服务,Google ADView类也未发现异常 - Google ADView class not found exception even after adding play service 启动应用程序时在Android上找不到类异常 - Class not found exception on Android when starting application 当我从Play商店下载应用程序时,为什么Google地图没有显示? - Why google map is not displaying when I download my application from play store? 从Play商店下载时,Android应用程序的行为有所不同 - Android application behaves differently when download from Play Store 从Google Play下载时,存储空间急剧增加 - Storage increased sharply when download from google play Null 指针异常仅在从 google play 下载时出现 - Null pointer exception only when downloading from google play 从我的应用程序类打开Goog​​le Play商店 - Opening Google Play Store from my Application class 如何使用Stub应用程序从Google Play下载完整的应用程序版本? - How to download full application version from Google Play using Stub application? 无法从Google Play下载应用程序[即使该应用程序是在同一设备上开发的] - Unable to download application from Google Play [Even though the said application was developed on the same device]
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM