Created attachment 17944 [details]
The sample project and logs from Xamarin 18.104.22.1683 (affected) and Xamarin 22.214.171.124 (not affected).
I've faced with a strange problem with the latest stable Xamarin for Windows: all my apps crash on start everytime (and I'm getting "Could not connect to debugger" message). I suppose it might regard to Bug 36514 and Bug 36179.
There is no difference if "Shared runtime" turned on or off.
I've attached a sample project (created from a template in Xamarin Studio), build logs, and device logs.
- AMD Phenom 8650
- Windows 8.1 (Build 9600)
- Xamarin Studio 6.1.1 (build 15)
- Xamarin 126.96.36.1993
- Xamarin.Android 188.8.131.52
I rolled back to Xamarin 184.108.40.206 (Xamarin.Android 220.127.116.11) and the problem is gone, so it looks like regression in Xamarin.
Crash appears only on Genymotion emulator. The application works on a ARMv7 device without any problem.
I have the same problem with Phenom X4 processor.
Here there is a discussion in xamarin forums:
and the solution we have found is the same: downgrade to last version of cycle 7.
I also have the same problem with my AMD proc both on Win8.1 Pro and Win10 Pro. I tried to debug my apps on VS Android Emulator (4/5) and on Genymotion (4/5/6), but they always crashed with log 'mscorlib.dll.so not found'... My apps runs without problems on real devices with ARM procs.
Downgrade to Cycle 7 solved this problem.
Setting this to confirmed as I was able to replicate:
The application is able to install successfully on the Android emulator but will instantly stop when application attempts to start debugging. Will get the same error as Bug owner "Could not connect to the debugger." Current workaround was to downgrade to the latest stable release of Xamarin Cycle 7.
##Troubleshooting steps attempted
1) Made sure "Migrate to a physical computer with a different processor version" is checked in Hyper-V emulator settings.
2). Tried turning off "Fast Deployment" and/or "Shared Runtime"
2) Re-installed/Updated VS Emulator for Android to the latest release
3) Updated Android SDK Tools and Platform-tools to the latest release and left Android SDK Build-tools version 23.0.3 installed.
4) Created new Android project from template setting target SDK to Marshmallow 6.0 and minimum SDK to KitKat 4.4
##Version & Hardware Information
Processor: AMD Athlon II 245
OS: Windows 10 Anniversary 64-bit
Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Xamarin 18.104.22.1689 (15694b9)
Xamarin.Android 22.214.171.124 (5a02b03)
Xamarin.iOS 10.2.0.4 (b638977)
Acquired are some snapshots of the error messages related to this error in both Debug and Release Mode: http://imgur.com/a/IuhNf
Although error in release mode is different, it may or may not be related to this issue. Release mode resulted in the same error even though linker was turned off. However errors in both build modes has been resolved when downgrading to Cycle 7.
Any news about solving this problem or terms?
Any news about this?
I thought 'this is microsoft, this is relialable', but seems like this is not true.
*** Bug 49667 has been marked as a duplicate of this bug. ***