Android Studio Preview 3.0 - Installing application failed to execute instant application

I am new to running an instant application. I created a new Hello World project with instant app support, according to the docs of the Android developer .

But when running "instantapp" the following error occurs:

enter image description here

I would appreciate if anyone could help.

+8
android android-instant-apps
source share
1 answer

Note. There is a known issue with running Instant Apps on an emulator image that includes the Google Play Store, which will give the same error. For now, use an emulator without a Play Store.

The Google Play service, which provides statusCode=API_UNAVAILABLE , means that your device cannot start Instant Apps for one reason or another. For example, you are not using a supported device or are not in a running country. See here for a list of supported development devices and here a list of countries. Instant applications are available.

The emulator should still work for development and will work beyond any restrictions. For instructions on how to configure the emulator for developing the Instant App, see here:

https://developer.android.com/topic/instant-apps/getting-started/setup.html#setup-emulator

+6
source share

All Articles