android / app-bundle-samples

Multiple samples showing the best practices in app bundles on Android.
Apache License 2.0
699 stars 330 forks source link

Can't run Instant App samples on Android 8.0.0 #101

Open andrecardoso opened 3 years ago

andrecardoso commented 3 years ago

I'm trying to run the Instant App multi module example in a Nexus 5x device running Android 8 through Android Studio but it gives me the following error:

03/12 17:22:22: Launching 'app detail' on LGE Nexus 5X.
INFO - Analyzing files...

INFO - Checking device...

FATAL - This older Android build is not compatible with instant apps
    Details: You must install system updates, flash a newer system image, or use a device with a a more up-to-date set of system patches.

Error while Uploading and launching Instant App

When using devices running Android 9 and 10 everything works perfectly.

Isn't it suppose to run on every Android version greater than 5.0 (API 21)? Is there another way to run it?

keyboardsurfer commented 3 years ago

This doesn't seem to behaving as intended. Can you please provide more information on the device you're using and file a bug here.