我使用Xamarin开发Android应用程序。我希望能够当用户打开该链接example://gizmos
打开的应用程序,所以我加入这个我manifest文件:Xamarin Android深度链接不工作
<activity android:name="mynamespace.MyActivity"
android:label="@string/application_name" >
<intent-filter android:label="@string/application_name">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!-- Accepts URIs that begin with "http://www.example.com/gizmos” -->
<data android:scheme="http"
android:host="www.example.com"
android:pathPrefix="/gizmos" />
<!-- note that the leading "/" is required for pathPrefix-->
<!-- Accepts URIs that begin with "example://gizmos” -->
<data android:scheme="example"
android:host="gizmos" />
</intent-filter>
</activity>
这是从Android文档直接服用。我尝试点击从我的身体Android设备上的邮件应用程序的链接example://gizmos
,但我得到的消息:Unable to find application to perform this action
编辑
这是不一样的建议重复的,他们没有使用Xamarin。
[深层链接的意图可能的复制不WO rk](http://stackoverflow.com/questions/24808777/deep-linking-intent-does-not-work) – Demitrian
不是重复。他们甚至没有使用Xamarin。 – Darius
我也有同样的问题,对于我得到类没有发现异常 https://stackoverflow.com/questions/48680875/getting-class-not-found-exception-when-doing-deeplinking-in-xamarin-forms –