App links intent filters in assetlinks.json not working on Android

For us it was Windows line endings!

Testing with “https://digitalassetlinks.googleapis.com/v1/statements:list?source.web.site=https://domain1:port&relation=delegate_permission/common.handle_all_urls” proved invaluable as it gave us an “Could not parse statement list (not valid JSON)” error which led us to the problem.

TIP: It was good to use the ‘Save File’ button in the Android Studio App Links Assistant instead of copying and pasting as we did – that way it generates the file itself and is guaranteed not to have this issue.

Leave a Comment