Instant App-数字资产链接协议 [英] Instant App - Digital Asset Links Protocol

查看:107
本文介绍了Instant App-数字资产链接协议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我尝试将即时应用APK上载到Play商店时,都会出现以下错误:

Whenever I tried to upload my instant app apks to Play store, it gives the following error :

  • 您的网站"www.mywebsitename.com"未通过数字链接 资产链接协议到您的应用程序.请通过 将数字资产链接协议连接到您的应用.
  • Your site 'www.mywebsitename.com' has not been linked through the Digital Assets Link protocol to your app. Please link your site through the Digital Assets Link protocol to your app.

但是,每当我执行 https://developers.google.com/digital -asset-links/tools/generator ,它可以成功地与我的应用程序和网站建立关联.知道为什么我会收到此错误吗?可能是什么原因造成的?

However, whenever I execute https://developers.google.com/digital-asset-links/tools/generator, it gives success for associating with my app and web site. Any idea why am I getting this error? What may cause this?

谢谢您的帮助.

推荐答案

请检查是否在Google Play控制台上启用了Google Play应用签名. 如果启用了Google Play应用签名,则Google Play控制台会将您的应用密钥替换为发行密钥. 您在Android Studio上设置的密钥将被视为上传密钥. 因此,您需要使用释放键修改assetlinks.json.

Please check whether Google Play App Signing is enable on Google Play Console. If Google Play App Signing is enable, Google Play Console will replace your app key with release key. And the key you set on Android Studio is treated as upload key. So, you need to modify your assetlinks.json with release key.

这篇关于Instant App-数字资产链接协议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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