android-app 链接在 android Ver 12 上不起作用

发布于 2025-01-19 04:35:36 字数 222 浏览 1 评论 0原文

我已经尝试在Android中实现链接。它正常工作,直到Android版本11.LATER版本正在打开浏览器中的应用链接。 遵循了此链接中给出的烤土豆沙拉示例。

我 “ https://i.sstatic.net/vehrm.png” rel =“ nofollow noreferrer”>

I have tried implementing app linking in android.It is working fine till android version 11.Later version is opening the app link in browser. I have followed the grilled potato salad example that is given in this link.https://developer.android.com/studio/write/app-link-indexing

I have tried adding the line autoVerify=true in manifest activity Below is the image in manifest file

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦醒时光 2025-01-26 04:35:36

对于版本 12,我们必须使用密钥库 sha1256 生成 assetlinks.json 文件。将该文件保留在域根 .wellknown 文件夹中以进行自动验证

- 有关详细信息,请参阅 android studio 中工具下的应用程序链接助手

For version 12 we have to generate assetlinks.json file by using keystore sha1256. keep that file in domain root .well-known folder for auto verification

-- for more info see App Links Assistant under Tools in android studio

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文