После добавления ссылки на стороннюю DLL я не могу компилировать в отладке из-за этой ошибки:
Код: Выделить всё
Errore (attivo) XAAMM0000 C:\myProject\obj\Debug\net9.0-android35.0\AndroidManifest.xml:14:225-250 Error:
Attribute application@debuggable value=(true) from AndroidManifest.xml:14:225-250
is also present at AndroidManifest.xml:15:9-35 value=(false).
Suggestion: add 'tools:replace="android:debuggable"' to element at AndroidManifest.xml:14:3-31:17 to override. myProject (net9.0-android35.0) C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\35.0.39\tools\Xamarin.Android.Common.targets 1561
Код: Выделить всё
Errore (attivo) AMM0000
tools:replace specified at line:14 for attribute android:debuggable, but no new value specified
C:\repos\myProject\myProject\obj\Release\net9.0-android35.0\AndroidManifest.xml
Error:
Validation failed, exiting myProject (net9.0-android35.0) C:\repos\myProject\myProject\obj\Release\net9.0-android35.0\AndroidManifest.xml 14
Errore (attivo) XAAMM0000 C:\repos\myProject\myProject\obj\Release\net9.0-android35.0\AndroidManifest.xml:14:3-31:17
Error:
tools:replace specified at line:14 for attribute android:debuggable, but no new value specified
C:\repos\myProject\myProject\obj\Release\net9.0-android35.0\AndroidManifest.xml
Error:
Validation failed, exiting myProject (net9.0-android35.0) C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\35.0.39\tools\Xamarin.Android.Common.targets 1561
Как я могу решить это? Android: Regainable value
[*] Удалить атрибут Android: Android: Code>
Подробнее здесь: https://stackoverflow.com/questions/795 ... ternal-dll
Мобильная версия