Visual studio can't debug Android Xamarin app

前端 未结 9 846
萌比男神i
萌比男神i 2021-01-17 08:51

I\'ve started with Xamarin and Android using Visual Studio 2013.

When I start debugging the android app, it builds, deploys to device and then debugging in Visual St

9条回答
  •  悲哀的现实
    2021-01-17 09:47

    In my case, after some investigation, I saw I was having this warning: "Failed to read .android.dll' with debugging symbols. Retrying to load it without it. Error details are logged below. 2>Mono.Cecil.Cil.SymbolsNotMatchingException: symbols were found but are not mathing the assembly"

    The solution was to disable linking:

    Right-click the Android Project -> Properties -> Android Options -> Under "Linker properties", set Linking to None (see image below)

    Got this from TedFalasco's answer on this post.

提交回复
热议问题