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

前端 未结 12 1887
时光取名叫无心
时光取名叫无心 2020-12-02 17:12

My app defines the intent filters to handle URL\'s from my site defined by


  

        
12条回答
  •  爱一瞬间的悲伤
    2020-12-02 17:48

    Thanks for all the other answers here, I was able to find my issue. In spite of doing everything right. This was my problem.

    • If your project is huge, chances are you have multiple android module dependencies. Check the merged manifest to find all the activities with intent filter(with autoverify = true).

    How this can go wrong is simple. If a project has multiple autoverify urls, then the OS tries to verify it all. Even if one fails then the OS fails the verification of every URL.

    Open the manifest file in your main app module, then choose the Merged Manifest option from the bottom tab. Now check the Manifest sources(list) on the right and manually look up manifest files of every library project.

    In my case, a third-party library's auto verify flag was enabled. My two-day search comes to an end. Good luck to you.

提交回复
热议问题