【发布时间】:2018-04-22 20:29:56
【问题描述】:
我的应用已上传到 Play 商店,它有一个 APK 扩展文件。在真实设备中测试并且工作正常。有时我会收到崩溃报告,我想在模拟器中模拟它们。
我收到这条消息“Download failed because the resources could not be found”
这里是 Logcat:
E/Checking_download: service_to_connected : E/Checking_download: service_connected : E/Checking_download: DownloadStateChanged : 寻找要下载的资源 E/vending: [125] VendingApplication.getAuthTokenBlocking(): ANDROID 没有匹配的帐户 E/vending:[125] AsynchRequestRunner$1.runRequestRetryingFailure(): Got ApiException from async request: Sent a bad request. E/vending: [125] VendingApplication.getAuthTokenBlocking(): ANDROID 没有匹配的帐户 E/vending:[125] AsynchRequestRunner$1.runRequestRetryingFailure(): Got ApiException from async request: Sent a bad request. E/vending: [125] VendingApplication.getAuthTokenBlocking(): ANDROID 没有匹配的帐户 E/vending:[125] AsynchRequestRunner$1.runRequestRetryingFailure(): Got ApiException from async request: Sent a bad request. E/vending: [125] VendingApplication.getAuthTokenBlocking(): ANDROID 没有匹配的帐户 E/vending:[125] AsynchRequestRunner$1.runRequestRetryingFailure(): Got ApiException from async request: Sent a bad request. E/vending: [125] VendingApplication.getAuthTokenBlocking(): ANDROID 没有匹配的帐户 E/vending:[125] AsynchRequestRunner$1.runRequestRetryingFailure(): Got ApiException from async request: Sent a bad request. E/vending: [125] VendingApplication.getAuthTokenBlocking(): ANDROID 没有匹配的帐户 E/vending:[125] AsynchRequestRunner$1.runRequestRetryingFailure(): Got ApiException from async request: Sent a bad request. E/Checking_download: DownloadStateChanged : 下载失败,因为找不到资源 E/dalvikvm:找不到类 'android.os.UserManager',引用自方法 com.google.android.gms.common.GooglePlayServicesUtilLight.isRestrictedUserProfile E/FA:丢弃数据。发送应用启动失败 E/FA: 获取应用实例 ID 失败 E/FA:无法将当前屏幕发送到服务 E/FA:丢弃数据。无法将事件发送到服务 E/FA:丢弃数据。向服务发送事件失败
请注意,我尝试了许多 Google API。 26,27,.....
以上 logcat 来自 API 15。
【问题讨论】:
标签: android android-emulator apk apk-expansion-files