vaenow / cordova-plugin-app-update

App updater for Cordova/PhoneGap
MIT License
298 stars 146 forks source link

安装插件后闪退 #110

Closed hearsay316 closed 5 years ago

hearsay316 commented 6 years ago

当我按照官网安装好插件,打包后的apk安装在手机上 ,闪退。

yexiaodong commented 6 years ago

你解决了吗?我也遇到同样的问题。安装插件后,app无法打开;

hearsay316 commented 6 years ago

?你解决了吗我也遇到同样的问题安装插件后,应用程序无法打开。

换了一种方式

jdzhou commented 5 years ago

?你解决了吗我也遇到同样的问题安装插件后,应用程序无法打开。

换了一种方式

换了什么方式,提供一下思路 谢谢

simeon49 commented 5 years ago

之前一直正常 升级到android 7.1.4 后 运行闪退
12-04 15:12:56.553 32551 32551 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.vaenow.appupdate.android.GenericFileProvider: java.lang.ClassNotFoundException: Didn't find class "com.vaenow.appupdate.android.GenericFileProvider" on path: DexPathList[[zip file "/data/app/com.zlya.intfire--U7xgxxaZ0tDNQv8rroAkw==/base.apk"],nativeLibraryDirectories=[/data/app/com.zlya.intfire--U7xgxxaZ0tDNQv8rroAkw==/lib/arm64, /data/app/com.zlya.intfire--U7xgxxaZ0tDNQv8rroAkw==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]] 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6343) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:5891) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5799) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at android.app.ActivityThread.-wrap1(Unknown Source:0) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1677) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6602) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:453) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:821) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.vaenow.appupdate.android.GenericFileProvider" on path: DexPathList[[zip file "/data/app/com.zlya.intfire--U7xgxxaZ0tDNQv8rroAkw==/base.apk"],nativeLibraryDirectories=[/data/app/com.zlya.intfire--U7xgxxaZ0tDNQv8rroAkw==/lib/arm64, /data/app/com.zlya.intfire--U7xgxxaZ0tDNQv8rroAkw==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]] 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:379) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:312) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6328) 12-04 15:12:56.553 32551 32551 E AndroidRuntime: ... 10 more 12-04 15:12:56.555 1214 11923 W ActivityManager: Force finishing activity com.zlya.intfire/.MainActivity 12-04 15:12:56.573 1214 1263 I qk_params: read blockName =PRODUCTLINE elemName=RPTag

vaenow commented 5 years ago

Fixed #95