我使用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 –