Instant application example requires a new SDK

I keep getting the error at the bottom of the question, although I followed the official emulator configuration guide and a sample project setup guide to the letter.

Usage:
- Android Studio 3.0-Alpha7
- Pixel emulator with SDK 23

Provisioning completed successfully and it was possible to enable instant applications in Settings > Google > Instant Apps

Failed to load instant side load application: Error trying to read package. Instant App com.instantappsample requires an SDK version that is newer than the version installed on the device. Update the SDK on the device. Error loading and registering instant application

+4
source share
3 answers

Creating an API 26 emulator (aka O) allowed me to successfully install the Instant App, otherwise following the guide. Hat-tip to donly from the Github project android-instant-apps Workarounds I tried unsuccessfully at first:

  • Removing " Google Play Instant Apps " (from another answer)
  • Upgrade to Android Studio 3.0 Canary 5
  • Using a physical device that can run instant applications (Galaxy S6 SM-G920V, Android 7.0)
+2
source

This may be a problem on our side. Thank you for message. Try the following workaround:

  • Settings β†’ Applications
  • Find Google Play services for instant apps.
  • .

, , , .

. .

+1

It works for me to switch to the O8686 API emulator.

+1
source

Source: https://habr.com/ru/post/1681817/


All Articles