Android Studio Preview 3.0 - Application installation failed when running instant app

限于喜欢 提交于 2019-12-08 16:38:23

问题


I am new to running instant app. I have created a new "Hello World" project with instant app support, according to android developer documents.

But, when running "instantapp", the following error occurs:

I would appreciate it if anyone could help.


回答1:


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

Google Play Services giving statusCode=API_UNAVAILABLE means your device is not able to run Instant Apps for one reason or another. For example, you are not using a supported device or you are not in a launched country. Please see here for a list of supported development devices and here for a list of countries Instant Apps are available in.

The emulator should still work for development and will run outside of any restrictions. For instructions on setting up an emulator for Instant App development see here:

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



来源:https://stackoverflow.com/questions/44051850/android-studio-preview-3-0-application-installation-failed-when-running-instan

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!