How do I select Android emulator(s) as the run target for Android apps in Fire? I’ve tried the default Android app template project for Swift and C# and they both build OK, but I always get a panel “Could not start to debug. No device selected.”
I don’t see a list of emulators to pick from. I have Android Studio current version and all the recommended modules and sample projects build and run in the emulator there – the system created a Nexus 5 emulator (API 21, Atom X86).
In the AVD manager, I see two “MonoForAndroid_API_10” and “MonoForAndroid_API_12” devices – these were made in the installation of Fire for me. They don’t start because the underlying APIs (10/12) are not installed. Should I make them work?
I’m on Yosemite 10.10.2 and Fire 8.1.82.1707 built 2015-2-20, and
Currently, Fire doesn’t provide UI to launch or managed emulators. but if you launch the Android Virtual Device Manager (available from the Tools menu) and boot upon emulator, it should show up in the list devices in the toolbar at the top.
If the enumerators you have configured now don’t start up, that’s an issue between them and the Android SDK, and outside anything Fire or our compiler has control over. You will need to get that working, yes. I’m not familiar with the exact error message, but it sound like installing that API level might do the trick. Or just create new ones. FWIW, Fire did not create these. From the names, it sound like you installed Xamarin in the past, and that might have.
Thanks – yes, Xamarin must have installed those other devices in the emulator.
After quitting and restarting both Fire and the Android emulator, now the active AVD device does show in that menu in the toolbar, and it works to run apps. The latest Android emulator gets into odd states sometimes, must have been the problem…