本文介绍了Android Instant Apps未在Pixel上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

最近我的Pixel开始显示以下消息:

Recently my Pixel started showing the following message:

Development Mode Active -
URLs will be routed to Dev Manager in order to launch Instant Apps locally.

此外,在settings -> apps中,我可以看到Instant应用程序的Google Play服务.
现在,当我尝试希望 buzzfeed好吃,以便我可以运行他们的Instant应用时,我被带到了他们的网站,而不是在Instant应用中.

Also, in settings -> apps I can see Google play services for Instant apps.
Now, when I tried wish and buzzfeed tasty so that I can run their Instant apps I was taken to their site and not in the Instant app.

我在 Android Studio 3.0 Canary 4 中构建了一个Instant应用.
在模拟器上运行正常,但是当我连接在Android 7上运行的 Pixel 时,显示以下错误-

I built an Instant app in Android Studio 3.0 Canary 4.
It is working fine on the emulator but when I connected my Pixel running on android 7 it shows the following error -

侧面加载即时应用失败:读取捆绑软件超时.

,当我重试几次时,它显示此-

and when I retry some more times it shows this -

Side loading instant app failed: Failure when trying to read bundle.
Unable to connect to Google Play Service ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}

此处提出了同样的问题 但是,在这种情况下,问题出在模拟器而不是真实的设备上.

A same question has been asked here but in this case the problem is with the emulator not a real device.

CompiledSdkVersion 25
targetSdkVersion 25
buildToolsVersion 25.0. 3

CompiledSdkVersion 25
targetSdkVersion 25
buildToolsVersion 25.0.3

任何帮助将不胜感激,我还将尝试列出一些已经发布的即时应用.

Any help would be appreciated and also a list of some already published instant apps I can try.

推荐答案

不幸的是,Instant Apps在印度尚不可用.这意味着,在包括开发环境在内的真实设备上,Instant Apps功能默认情况下处于关闭状态.请在此处查看受支持的国家/地区列表: https://support.google. com/googleplay/android-developer/answer/7381861#production

Unfortunately Instant Apps is not yet available in India. That means, Instant Apps features are by default turned off on the real devices, including in development environment. See the list of supported countries here: https://support.google.com/googleplay/android-developer/answer/7381861#production

我们正在研究此问题,并将在几周内提供更新.同时,请使用仿真器进行开发.

We are working on this issue and will provide an update in a few weeks. In the mean time, please use emulators for you development.

这篇关于Android Instant Apps未在Pixel上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 15:14