有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

包含“https://”时java DeepLink未打开

当我打开深层链接时,请打开我的应用程序打开浏览器 注意:在方案中添加“https://”时,仅打开浏览器

 <data
                安卓:host="games"
                安卓:pathPrefix="/game"
                安卓:scheme="https://fahimeZivdar.com" />

共 (1) 个答案

  1. # 1 楼答案

    android:scheme属性应该只包含一个URL方案。此外,“games”不是可解析的主机名

    您的<data>元素可能应该是:

     <data android:host="fahimeZivdar.com"
           android:pathPrefix="/game"
           android:scheme="https" />
    

    有关更多信息(包括示例),请参阅Android developer documentation on deep linking