【发布时间】:2017-07-06 12:31:15
【问题描述】:
最近我的 Pixel 开始显示以下消息:
Development Mode Active -
URLs will be routed to Dev Manager in order to launch Instant Apps locally.
另外,在settings -> apps 中,我可以看到针对即时应用的 Google Play 服务。
现在,当我尝试使用 wish 和 buzzfeed beautiful 来运行他们的免安装应用时,我被带到了他们的网站,而不是在免安装应用中。
我在 Android Studio 3.0 Canary 4 中构建了一个免安装应用。
它在模拟器上运行良好,但是当我连接在 android 7 上运行的 Pixel 时,它显示以下错误 -
侧面加载免安装应用失败:读取包超时。
当我再试几次时,它会显示这个 -
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}
here 提出了同样的问题但在这种情况下,问题在于模拟器不是真实设备。
CompiledSdkVersion 25
targetSdkVersion 25
buildToolsVersion 25.0。 3
如有任何帮助,我将不胜感激,并提供一些我可以尝试的已发布即时应用的列表。
【问题讨论】:
-
快速澄清:你在哪个国家?
-
我来自印度。
标签: android android-studio android-instant-apps