0

I am developing an instant app following the instructions given in Android Documentation.

For app link I am using the tool "App links Assistant" under Tools. Under "App links assistant" > "Associate Website" I clicked on "Open Digital Asset Links File Generator" button and successfully generated the file. But failed to link and verify.

Screenshot

Does anybody have any idea how to resolve this? Also my instant app is not opening via its link.

Note: My domain is SSL certified.

  • First, verify if your app links are correct with https://developers.google.com/digital-asset-links/tools/generator. Then you can use command line at “Testing a web URI intent” https://developer.android.com/training/app-links/index.html#testing to check if your JSON file is valid as well as the manifest file. – TWL Jul 19 '17 at 00:54
  • I got the issue of "link and verify" resolved by updating android studio from canary 4 to 5. May be that was a bug in that old version. But still unable to open my instant app via link. – Someshwari Dhakate Jul 19 '17 at 10:01
  • Do you get any errors when you’re trying to run your instant app, logs? Or does your link open the browser instead? – Julia K Jul 22 '17 at 00:31
  • I didn't got any errors – Someshwari Dhakate Aug 21 '17 at 18:21

2 Answers2

0

Your server does not have a valid SSL certificate. Make sure your assetlinks.json file can be accessed by HTTPS. You can simply check access by using curl:

curl https://yourdomain.com/.well-known/assetlinks.json
ibrahimkarahan
  • 475
  • 2
  • 9
0

I got the issue of "link and verify" resolved by updating android studio from canary 4 to 5. May be that was a bug in that old version. But still unable to open my instant app via link.