androidandroid-emulatorapkapk-expansion-files

Apk Expansion file is not downloaded through emulator


My app is uploaded to play store, it has an APK expansion file. Tested in real devices and working OK. Some times I get crash reports and I want to simulate them in the emulator. I get this message" Download failed because the resources could not be found"

Here is the Logcat:

E/Checking_download: service_to_connected : E/Checking_download: service_connected : E/Checking_download: DownloadStateChanged : Looking for resources to download E/vending: [125] VendingApplication.getAuthTokenBlocking(): no matching accounts for ANDROID E/vending: [125] AsynchRequestRunner$1.runRequestRetryingFailure(): Got ApiException from async request: Sent a bad request. E/vending: [125] VendingApplication.getAuthTokenBlocking(): no matching accounts for ANDROID E/vending: [125] AsynchRequestRunner$1.runRequestRetryingFailure(): Got ApiException from async request: Sent a bad request. E/vending: [125] VendingApplication.getAuthTokenBlocking(): no matching accounts for ANDROID E/vending: [125] AsynchRequestRunner$1.runRequestRetryingFailure(): Got ApiException from async request: Sent a bad request. E/vending: [125] VendingApplication.getAuthTokenBlocking(): no matching accounts for ANDROID E/vending: [125] AsynchRequestRunner$1.runRequestRetryingFailure(): Got ApiException from async request: Sent a bad request. E/vending: [125] VendingApplication.getAuthTokenBlocking(): no matching accounts for ANDROID E/vending: [125] AsynchRequestRunner$1.runRequestRetryingFailure(): Got ApiException from async request: Sent a bad request. E/vending: [125] VendingApplication.getAuthTokenBlocking(): no matching accounts for ANDROID E/vending: [125] AsynchRequestRunner$1.runRequestRetryingFailure(): Got ApiException from async request: Sent a bad request. E/Checking_download: DownloadStateChanged : Download failed because the resources could not be found E/dalvikvm: Could not find class 'android.os.UserManager', referenced from method com.google.android.gms.common.GooglePlayServicesUtilLight.isRestrictedUserProfile E/FA: Discarding data. Failed to send app launch E/FA: Failed to get app instance id E/FA: Failed to send current screen to service E/FA: Discarding data. Failed to send event to service E/FA: Discarding data. Failed to send event to service

Noting that I tried many Google APIs. 26,27,.....

The above logcat is from API 15.

Emulator Config:- enter image description here Thanks for usual support.


Solution

  • Are you definitely running an emulator with Google Play Services and the Play store on it? From that logcat it looks like you aren't. If you definitely are, are they up to date?