在尝试配置AppLink的时候遇到打开Applink出现chooser的问题
使用命令行检查
1
| adb shell dumpsys package domain-preferred-apps
|
1 2 3 4 5
| App verification status:
Package: cn.myoungs.applinkstest Domains: myoungs.cn Status: undefined
|
而正确的输出结果应该是
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| App linkages for user 0:
Package: com.google.android.googlequicksearchbox Domains: assistant.google.com www.assistant.google.com Status: ask
Package: com.whatsapp Domains: api.whatsapp.com v.whatsapp.com chat.whatsapp.com Status: always : 200000002
Package: me.ele Domains: www.ele.me Status: always : 200000003
Package: com.android.chrome Domains: Status: always : 200000008
Package: com.google.android.apps.photos Domains: photos.google.com goo.gl Status: always : 200000005
|
截止2017-06-05这个问题还没有解决。。。
我的manifest文件如下
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
| <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="cn.myoungs.applinkstest">
<application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> <meta-data android:name="asset_statements" android:resource="@string/asset_statements" /> <activity android:name=".MainActivity"> <intent-filter android:autoVerify="true"> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> </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="http" android:host="myoungs.cn" /> <data android:scheme="https" android:host="myoungs.cn" /> </intent-filter> </activity> </application>
</manifest>
|
另外的配置连接
在google的检查页面也提示正常的