Google Play 应用签名和即时应用 [英] Google Play App Signing and Instant Apps

查看:31
本文介绍了Google Play 应用签名和即时应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

相当直接的问题.有谁碰巧知道 Google Play App Signing 是否支持 Instant Apps?我问的原因:

Fairly straight forward question. Does anyone happen to know if Google Play App Signing supports Instant Apps? The reason I ask:

输入您应用的签名配置,或选择一个密钥库文件.虽然可以在测试期间使用调试配置或密钥库,但生成的数字资产链接文件将与您的应用程序的发布版本不兼容.如果您确实上传了使用调试配置或密钥库的数字资产链接文件,那么在发布您的应用之前,您需要生成并上传使用您应用的发布密钥的新数字资产链接.

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.

来自博客文章:- 如何创建即时应用功能

如果此声明属实,播放控制台是否提供生成 assetlinks.json 的方法?这是您必须在您声称隶属的域上托管的文件.

If this claim is true, does the play console provide a means for generating a assetlinks.json? This is the file that you must host on the domain you are claiming to be affiliated with.

推荐答案

是的,Google Play 应用签名支持即时应用.您将使用签名密钥而不是上传密钥,因为 Google Play 将使用签名密钥重新签署您的应用.

Yes, Google Play App Signing supports Instant Apps. You will use your Signing key instead of the Upload key because Google Play will re-sign your app with the signing key.

Android Studio 提供了一种生成assetlinks.json 的方法,只需进入Tools >;应用链接助手 >关联网站,然后就可以选择正确的keystore文件了.

Android Studio provides a way to generate the assetlinks.json, just go to Tools > App Links Assistant > Associate Website, then you can select the correct keystore file.

您也可以通过Statement List Generator and Tester 手动完成

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

Other posts have also addressed this

这篇关于Google Play 应用签名和即时应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆