android - Google Play 应用签名和即时应用

标签 android google-play android-instant-apps android-app-signing

相当直接的问题。有人知道 Google Play 应用签名是否支持即时应用吗?我问的原因:

Enter your app’s signing config, or select a keystore file. While it’s possible to use a debug config or keystore during testing, the generated Digital Asset Links file won’t be compatible with the release version of your app. If you do upload a Digital Asset Links file that uses a debug config or keystore, then before publishing your app you’ll need to generate and upload a new Digital Asset Links that uses your app’s release key.

来自博客文章:- How to Create an Instant App Feature

如果此说法属实,那么 Play 控制台是否提供了生成 assetlinks.json 的方法?这是您必须在您声称所属的域上托管的文件。

最佳答案

是的,Google Play 应用签名支持免安装应用。您将使用签名 key 而不是上传 key ,因为 Google Play 会使用签名 key 重新签署您的应用。

Android Studio提供了生成assetlinks.json的方法,只需进入工具 > 应用链接助手 > 关联网站,即可选择正确的keystore文件。

您也可以通过 Statement List Generator and Tester 手动执行此操作

其他帖子也解决了这个问题

关于android - Google Play 应用签名和即时应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46488635/

相关文章:

android - Android Instant Apps:YouTube Android Player不兼容吗?

android - 如何从即时应用程序中列出已安装的应用程序?

android - 如何将 Apple App 连接到外部设备,例如温度感应器?

android - 如何在 App Inventor 中打开网页

android - 我的应用程序显示 "This item is not compatible with your device"

android - 如何为Google Play控制台创建程序包名称

android - 在启动器中没有图标的市场中提供 "open"

android - 多功能 Instant App 崩溃问题

Android Gradle 构建错误

java - 将 ByteInputStream 分配给 InputStream,保持绑定(bind)到终端仿真器