小编And*_*eek的帖子

上传失败您应该同时使用 http 和 https 作为您的网络意图过滤器的方案

上传失败

您应该同时使用 http 和 https 作为 Web 意图过滤器的方案。

将免安装应用程序上传到 Play 商店时出现此错误。我已经在 Manifest 中声明了 http 和 https 的意图过滤器,如下所示。

<intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />

                <data
                    android:scheme="http"
                    android:host="XXXX" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />

                <data
                    android:scheme="https"
                    android:host="XXXX" />
            </intent-filter>
Run Code Online (Sandbox Code Playgroud)

您能否让我知道可能出了什么问题,以及为什么我在上传到 Play 商店时出现此错误?

android intentfilter android-instant-apps

7
推荐指数
1
解决办法
2443
查看次数