Reputation: 1888
After installing everything it couldn't create emulator. Running emulator from android studio. Using a Hello world Xamarin app. It installs on the emulator successfully but stops after showing a white screen. Then closes automatically showing this error:
Couldn't connect debugger. You can see more details in Xamarin Diagnostic output and the full exception on logs.
Manually opening the app also fails to show second time but opeing it third time shows the UI that has only a label and a button. Third time it works. Also closed android studio so that theres no conflict on debugger.
Now what is wrong here?
Upvotes: 2
Views: 6393
Reputation: 1573
Doing a factory reset on my emulator device via Android Device Manager fixed this for me.
Upvotes: 0
Reputation: 285
I hope this should mainly because of the device connectivity, so I change the cable and the issue was solved. 😀
Upvotes: 0
Reputation: 4173
Clean and Rebuild the Solution Is working fine for me, also in some cases you need to uninstall the app from Device.
Upvotes: 7
Reputation: 99
I got the same problem after updating Android Sdk from Android Studio, then Visual Studio showed that error. A restart will help.
Upvotes: 2