我尝试将我的即时应用apks上传到Play商店,它会出现以下错误

时间:2018-01-16 08:12:08

标签: android android-instant-apps

我将我的即时应用apks上传到Play商店,它会出现以下错误:

  

您的网站www.tomtop.com尚未通过数字资产链接协议与您的应用相关联。请通过数字资产链接协议将您的网站链接到您的应用。

我运行digital asset links generator,它返回成功与我的应用和网站关联。为什么我会收到此错误?

Asset links check

这是我的AndroidManifest:

<intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

<intent-filter android:autoVerify="true">
    <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="www.tomtop.com"
         android:pathPrefix="/instant" />
</intent-filter>

<intent-filter android:autoVerify="true">
    <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="www.tomtop.com"
        android:pathPrefix="/instant" />
</intent-filter>

1 个答案:

答案 0 :(得分:0)

您可以查看 Manage your app signing keys ,您需要使用Play Console提供的指纹,而不是Android Studio使用的指纹来登录APK(上传密钥) )。

第1步:创建上传密钥

第2步:准备发布版

RelativeLayout

第3步:上传已签名的应用

第4步:使用API​​提供商注册您的应用签名密钥

参考: - Enroll for app signing in the Google Play Console & secure your app using Google’s robust security infrastructure

YouTube