App run in debug mode but in release mode it crashed when linking is set to sdk

kefikefi Member ✭✭

Mono.Cecil.Cil.SymbolsNotMatchingException: Symbols were found but are not matching the assembly at Mono.Cecil.ModuleDefinition.ReadSymbols(ISymbolReader reader, Boolean throwIfSymbolsAreNotMaching) at Mono.Cecil.ModuleReader.ReadSymbols(ModuleDefinition module, ReaderParameters parameters) at Mono.Cecil.ModuleReader.CreateModule(Image image, ReaderParameters parameters) at Mono.Cecil.ModuleDefinition.ReadModule(Disposable`1 stream, String fileName, ReaderParameters parameters) at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters) at Mono.Cecil.AssemblyDefinition.ReadAssembly(String fileName, ReaderParameters parameters) at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.ReadAssembly(String file)

Answers

  • BeanBellBeanBell Member

    same my problem! and here is how I fix it:

    1. Android Manyfest -> Target Android Version: Use Compile using SDK version
    2. Android Options -> Enable ProGuard: checked
    3. Android Options -> Linking: SDK and User Assemblies
    4. Close project, delete obj and bin folders.
    5. Re-open project, clean and build.
Sign In or Register to comment.