2

I try to publish my Android instant app to Google Play; I link the app, which is named helloinstantapp.instantapp.examples.chrisyttang.org to the domain https://csytang.github.io.
It has been verified by Android Studioenter image description here as you can see in the following image;

However, when I try to publish my app into Google Play with Google Play Console, I get the error that "the site csytang.github.io has not been linked through the DAL protocol to your app." Why this happen?

enter image description here

csytang
  • 119
  • 3
  • 10
  • I’ve never encountered your issue, but you can try https://developers.google.com/digital-asset-links/tools/generator for the same verification result. Though, try again with the built-in assistant. If it still stalls, you might have to insert the files into your project manually - let me know. – TWL Sep 05 '17 at 23:50
  • BTW, the package_name in your assetlinks.json should be just the application ID: helloinstantapp.instantapp.examples.chrisyttang.org – TWL Sep 05 '17 at 23:50
  • Now it works but still show not connect in google play – csytang Sep 09 '17 at 07:58
  • I revise the problem, @TWL thanks. – csytang Sep 09 '17 at 08:05
  • @csytang Did you by any chance enable [Google Play App Signing](https://support.google.com/googleplay/android-developer/answer/7384423)? If yes, then you need to use the fingerprint provided by the Play Console, instead of the fingerprint used by Android Studio to sign the APK with (upload key). To do this, modify your `assetlinks.json` with the release key specified in the `Play Console > Release management > App signing`. – Volo Sep 09 '17 at 21:08
  • cool @Idolon it fixes my problems. Many thanks – csytang Sep 10 '17 at 03:30
  • thanks please see the acceptance – csytang Sep 10 '17 at 12:34

1 Answers1

13

Did you by any chance enable Google Play App Signing? If yes, then you need to use the fingerprint provided by the Play Console, instead of the fingerprint used by Android Studio to sign the APK with (upload key).
To do this, modify your assetlinks.json with the release key specified in the Play Console > Release management > App signing.

Volo
  • 28,673
  • 12
  • 97
  • 125