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

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

问题描述

公平直截了当的问题.有谁碰巧知道Google Play应用签名是否支持Instant Apps?我问的原因:

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

输入您应用的签名配置,或选择一个密钥库文件.虽然可以在测试过程中使用调试配置或密钥库,但生成的Digital Asset Links文件与您的应用的发行版不兼容.如果您确实上传了使用调试配置或密钥库的Digital Asset Links文件,那么在发布您的应用之前,您需要生成并上传一个使用您应用的发布密钥的新Digital Asset Links.

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 > App Links Assistant > Associate Website,然后您可以选择正确的密钥库文件.

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.

您还可以通过声明列表生成器和测试器手动进行操作

You can also manually do it through the Statement List Generator and Tester

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

Other posts have also addressed this

  • Digital Asset Link verified by Android Studio, but not pass in Google Play Console
  • Instant App - Digital Asset Links Protocol

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

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