Follow verification across all three participants
An Android App Link depends on agreement between the app manifest, a website association file, and the signing identity of the installed app. A browser opening a URL in the app is therefore not a single switch. Check each participant independently: the URL filters, the host response, and the certificate fingerprint of the build on the device.
Begin with the exact URL that failed. Record scheme, host, path, installed package, build source, and Android version. A link using a different subdomain or path may not match the filter or the host file you checked.
Validate the website association file from the public host
For every host in the app link filters, inspect https://host/.well-known/assetlinks.json from outside the development machine. It must be served from the expected host and contain a statement for the package and SHA-256 certificate fingerprint that signed the installed build. A debug fingerprint is different from the Play app-signing fingerprint in many release workflows.
curl --fail --show-error --silent \
https://links.example.com/.well-known/assetlinks.jsonCheck redirects, authentication, content, and deployment environment. A file that works on a staging host does not verify the production hostname, and a correct JSON document for one host does not automatically cover another subdomain.
Check filter scope and device verification state
Review each intent filter for the expected web scheme, host, and path. Broad filters can claim links the app does not handle; overly narrow filters can exclude a valid route. On older Android versions, verification behavior for multiple hosts can make one missing association file affect the result for the filter, so test each declared host rather than only the one used in a manual tap.
adb shell pm verify-app-links --re-verify com.example.app
adb shell pm get-app-links com.example.appManual verification is available on supported Android versions. Save the command output with the device version and package build. If the verification state is stale, follow the current Android developer guidance for resetting and rerunning verification rather than clearing unrelated app data at random.
Use the certificate that actually signed the installed artifact
For Play-distributed applications, the certificate used to upload an app bundle may not be the certificate used to sign the APK installed by a tester. Compare the association file with the signing certificate for the delivered build. Keep debug, internal distribution, and Play signing fingerprints labeled separately.
When rotation or multiple certificates are involved, use the current Digital Asset Links guidance and verify the installed artifact. Do not add every historical fingerprint without understanding which builds and signing identities remain in circulation.
Test the route end to end
- Install the exact release or test build and record its package and signing certificate.
- Verify each host declared in the manifest against its own public association file.
- Run a representative link for both a matching path and a path the app should not claim.
- Check the Android verification state and the resulting app or browser behavior.
The result should state which package, host, Android version, and URL pattern were verified. “Deep link works on my phone” leaves too many variables to diagnose the next release.