You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Android Deep Link调试时遇1024错误,自动验证失败求助

调试版签名应用的App Links自动验证问题

已完成的配置

已在网站的.well-known目录中添加assetlinks.json文件,且确认文件可正常访问,文件内容如下:

[{
    "relation": ["delegate_permission/common.handle_all_urls"],
    "target": {
      "namespace": "android_app",
      "package_name": "com.******.*********",
      "sha256_cert_fingerprints":
      ["23:DB:...."]
    }
  }]

2. Android端AndroidManifest.xml配置

作为Capacitor应用,已在AndroidManifest.xml中添加autoVerify属性及对应data标签的intent-filter,代码如下:

<application>
        <activity>
            <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"/>
                <data android:host="*****.*******.com" />
            </intent-filter>
        </activity>

测试及问题情况

  • 手动在手机/模拟器中添加Deep Link可正常工作,但自动验证功能失效
  • 执行以下adb命令重新验证并查看状态:
adb shell pm verify-app-links --re-verify com.*****.*******
adb shell pm get-app-links com.****.*******

返回结果如下:

com.*****.*****:
    ID: b5eb46a8-eb37-44ff-8b50-c6bc92402d34
    Signatures: [23:DB:....]
    Domain verification state:
      *****.*****.com: 1024

疑问

调试版(未发布但已签名)应用是否支持自动验证?若支持,该如何解决此问题?

内容的提问来源于stack exchange,提问作者Mad Eddie

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.09 00:40:30