.NET for Android 錯誤 XA0134

問題

該應用程式在 'AndroidManifest.xml' 中沒有設定 'android:debuggable' 屬性。 這是必要的,才能讓快速部署能夠運作。 預設情況下,這會由 .NET 適用於 Android 的偵錯組建系統啟用。

解決方法

請確認你的 'AndroidManifest.xml' 中沒有設定 'android:debuggable' 屬性在 'application' 元素上。 如果你有一個類別源自 'Android.App.Application',並且使用 '[Application]',請確保完全不要設定 'Debuggable' 屬性,因為它會覆蓋除錯建置的值。 如果這兩種方案都無效,請在 https://github.com/xamarin/xamarin-android/issues/new/choose 提交問題。