Side loading instant app failed: Reading bundle timed out

后端 未结 4 1855
清歌不尽
清歌不尽 2021-01-20 06:40

Unable to use Android Emulator, for testing the Instant Apps!! Every-time I\'m getting \"Side loading instant app failed: Reading bundle timed out.\"

<
相关标签:
4条回答
  • 2021-01-20 07:15

    I had a similar error when building the project using compileSDK 26 and targetSDK 26. Going back to SDK 25 and supportLibrary 25.4.0 solved the problem for me.

    0 讨论(0)
  • 2021-01-20 07:27

    The device is being considered as "already provisioned for instant apps" but it's not, probably because another device with the same serial number (same emulator) was used before and modified or because the device was modified externally (not by Android Studio).

    A workaround for that is to clear the cache before each run: InstantApp run configuration -> before run tasks -> provision for instant app task -> edit -> clear provisioned devices cache.

    0 讨论(0)
  • 2021-01-20 07:27

    In my case the option in (in the emulator)Settings -> Google -> Instant Apps was disabled.
    I manually enabled it, then it worked fine.

    0 讨论(0)
  • 2021-01-20 07:34

    devman.apk is missing under sdk/extras/google/instantapps/tools/apks/debug folder. Please sideload it manually before running your instant app:

    adb install /path/to/android/sdk/extras/google/instantapps/tools/apks/release/devman.apk
    
    0 讨论(0)
提交回复
热议问题