Answer the question
In order to leave comments, you need to log in
Problems with launching and building a Xamarin project, what is the reason?
In Debug mode, when running in the emulator, there are no problems. I decided to test it on a real device. I switched to Release mode, tried to run it again on the emulator and got an error and two warnings:
ADB0020: Несоответствие Android ABI. Выполняется развертывание приложения с поддержкой ABI "armeabi-v7a;arm64-v8a" на несовместимое устройство, использующее ABI "x86". Необходимо создать эмулятор, соответствующий одному из ABI вашего приложения, или добавить "x86" в список ABI, для которых выполнятся сборка приложения.
Mono.Cecil.Cil.SymbolsNotMatchingException: Symbols were found but are not matching the assembly
в Mono.Cecil.ModuleDefinition.ReadSymbols(ISymbolReader reader, Boolean throwIfSymbolsAreNotMaching)
в Mono.Cecil.ModuleReader.ReadSymbols(ModuleDefinition module, ReaderParameters parameters)
в Mono.Cecil.ModuleReader.CreateModule(Image image, ReaderParameters parameters)
в Mono.Cecil.ModuleDefinition.ReadModule(Disposable`1 stream, String fileName, ReaderParameters parameters)
в Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
в Mono.Cecil.AssemblyDefinition.ReadAssembly(String fileName, ReaderParameters parameters)
в Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.ReadAssembly(String file)
Failed to read 'D:\MyProject\MyProject.Android\obj\Release\90\android\assets\Xamarin.Essentials.dll' with debugging symbols. Retrying to load it without it. Error details are logged below.
Answer the question
In order to leave comments, you need to log in
Enable x86 support in the linker settings for the release configuration
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question