其他分享
首页 > 其他分享> > Fabric BETA已更新,现在我无法安装我的应用,无论是BETA,Android Studio还是apk

Fabric BETA已更新,现在我无法安装我的应用,无论是BETA,Android Studio还是apk

作者:互联网

我刚刚更新到最新版本的BETA.现在,当我尝试安装应用程序时,我得到了这个:

 DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/nl.hgrams.passenger"
pkg: /data/local/tmp/nl.hgrams.passenger

失败[INSTALL_FAILED_CONFLICTING_PROVIDER]

DEVICE SHELL COMMAND: pm uninstall nl.hgrams.passenger

DELETE_FAILED_INTERNAL_ERROR

任何想法?

PS:这是我尝试从BETA安装时日志所说的内容:

11-12 17:48:06.576: E/installd(200): Couldn't opendir /data/data/nl.hgrams.passenger: No such file or directory
11-12 17:48:06.577: W/PackageManager(788): Package couldn't be installed in /data/app/nl.hgrams.passenger-1
11-12 17:48:06.577: W/PackageManager(788): com.android.server.pm.PackageManagerException: Can't install because provider name com.google.android.gms.measurement.google_measurement_service (in package nl.hgrams.passenger) is already used by io.crash.air
11-12 17:48:06.577: W/PackageManager(788):  at com.android.server.pm.PackageManagerService.scanPackageDirtyLI(PackageManagerService.java:6812)
11-12 17:48:06.577: W/PackageManager(788):  at com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:6487)
11-12 17:48:06.577: W/PackageManager(788):  at com.android.server.pm.PackageManagerService.installNewPackageLI(PackageManagerService.java:11772)
11-12 17:48:06.577: W/PackageManager(788):  at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:12397)
11-12 17:48:06.577: W/PackageManager(788):  at com.android.server.pm.PackageManagerService.-wrap25(PackageManagerService.java)
11-12 17:48:06.577: W/PackageManager(788):  at com.android.server.pm.PackageManagerService$9.run(PackageManagerService.java:10156)
11-12 17:48:06.577: W/PackageManager(788):  at android.os.Handler.handleCallback(Handler.java:739)
11-12 17:48:06.577: W/PackageManager(788):  at android.os.Handler.dispatchMessage(Handler.java:95)
11-12 17:48:06.577: W/PackageManager(788):  at android.os.Looper.loop(Looper.java:148)
11-12 17:48:06.577: W/PackageManager(788):  at android.os.HandlerThread.run(HandlerThread.java:61)
11-12 17:48:06.577: W/PackageManager(788):  at com.android.server.ServiceThread.run(ServiceThread.java:46)

解决方法:

此问题已在Crashlytics的最新更新中得到修复.
这是他们解决问题的主线:
https://twittercommunity.com/t/cannot-install-new-beta-app-version-on-android/56213/4

标签:android,apk,crashlytics,twitter-fabric,crashlytics-beta
来源: https://codeday.me/bug/20190628/1314215.html