More and more people are going to install Visual Studio 2015 and try out the C # cross-platform development tool Xamarin, but there are a lot of problems.
I believe I will not be the only one who has encountered the following issues, and will not be the last, hereby recorded.
Microsoft's VS2015 will bring the Microsoft Simulator (UPDATE1 start), VS Emulator for Android, I started with Google's own simulator, but the exception of the card, so want to try a new combination.
I believe that many people will encounter Xamarin and Vsea compatibility issues, the biggest reason may also be that Hyper-V itself is poor compatibility.
The following questions are hereby logged:
If a visual BOX (such as an emulator such as Genymotion) fails to start or is unable to use vt-x, it is generally because hyper-V locks the software layer's virtual machine application instruction set, and the workaround uninstalls the Vsea and uninstalls Hyper-V and reboots.
If you encounter any of Xamarin's programs, flash through the Vsea or fail to debug, and report an error:
03-25 21:27:21.970 e/androidruntime (1590): FATAL Exception:main
03-25 21:27:21.970 e/androidruntime (1590): PROCESS:APP3.APP3, pid:1590
03-25 21:27:21.970 e/androidruntime (1590): Java.lang.UnsatisfiedLinkError:Couldn ' t load monodroid from Loader Dalvik.system.pathclassloader[dexpathlist[[zip file "/data/app/app3.app3-1.apk"],nativelibrarydirectories=[/data /app-lib/app3.app3-1,/system/lib]]: Findlibrary returned null
03-25 21:27:21.970 e/androidruntime (1590): at Java.lang.Runtime.loadLibrary (runtime.java:358)
03-25 21:27:21.970 e/androidruntime (1590): at Java.lang.System.loadLibrary (system.java:526)
or error is:
03-25 21:25:31.928 w/monodroid (1427): Trying to load SGen from:/storage/emulated/0/android/data/app3.app3/files/.__ Override__/libmonosgen-2.0.so
03-25 21:25:31.928 w/monodroid (1427): Trying to load SGen from:/data/app-lib/app3.app3-2/libmonosgen-2.0.so
03-25 21:25:31.928 w/monodroid (1427): Trying to load SGen from:/data/data/app3.app3/files/.__override__/links/ Libmonosgen-2.0.so
03-25 21:25:31.928 W/monodroid-debug (1427): Trying to initialize the debugger with options:--debugger-agent=transport=d T_socket,loglevel=0,address=127.0.0.1:8827,server=y,embedding=1
03-25 21:25:32.112 W/monodroid-debug (1427): Accepted stdout connection:43
03-25 21:25:32.888 D/mono (1427): Image AddRef mscorlib[0xb8dd2010]-mscorlib.dll[0xb8dd1350]: 1
03-25 21:25:32.892 D/mono (1427): AOT module ' mscorlib.dll.so ' not found:dlopen failed:library '/data/app-lib/app3.app3 -2/libaot-mscorlib.dll.so "not Found
03-25 21:25:32.892 D/mono (1427): AOT module '/users/builder/data/lanes/2970/46c3f7e0/source/monodroid/builds/ Install/mono-x86/lib/mono/aot-cache/x86/mscorlib.dll.so ' not found:dlopen failed:library '/data/app-lib/ App3.app3-2/libaot-mscorlib.dll.so "not Found
03-25 21:25:32.892 D/mono (1427): Unloading image data-0x96699010 [0xb8dd20b0].
03-25 21:25:32.912 D/mono (1427): Assembly mscorlib[0xb8dd2010] Added to domain rootdomain, ref_count=1
And the situation that can not be debugged, basically because of the virtual machine image and the compatibility of the Hyper-V itself, it may be WIN10 problem, it is recommended to use a third-party simulator to replace the Vsea simulator, here are recommended 2 simulator: Genymotion and every day.
Basically using genymotion and Xamarin compatibility is the best, currently tested, with no pressure to debug.
This is hereby recorded in case of similar problems.
"Record" Fix VS2015 debug Xamarin program Flash over (using Microsoft Android emulator)