Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Description of Problem: Xamarin's ADB support seems to be very flaky and nowhere near as robust as something like Android Studio. The simple act of opening a new project in Xamarin Studio will cause it to not find running emulator anymore.
Steps to reproduce the problem:
1. Open a solution with Android application project in Xamarin Studio
2. Set Android project as startup project
3. Start emulator (in my case I am using Genymotion emulator)
4. Debug the project
5. Select device shows up with the running emulator listed
6. Run project on the emulator
7. Close the solution in Xamarin Studio (do not quit Xamarin Studio)
8. Re-open the solution in Xamarin Studio
9. Hit debug
10. Select device dialog pops up, but the emulator that is still running is not listed
At this point if you quit Xamarin Studio completely and restart it then it will see the emulator again.
This also occurs if I just double-click another solution file to open it while Xamarin Studio is already open.
There are other times where it fails to find an emulator that is still running, but this sequence seems to be 100% repeatable.
Just discovered that the refresh button can cause the device to reappear, BUT only if I hit it more than once in a row (e.g. quickly double click it). Single clicks will not do it. I have to hit more than once in a row.
So I at least now have an alternative to quitting Xamarin Studio, I just have to keep banging on refresh until it appears.
FYI, before you ask the device does show up when I run adb devices command while it does not appear in select device dialog.
*** This bug has been marked as a duplicate of bug 16865 ***