Reputation: 131
I want to start write apps for android with Visual Studio. I used default emulator (Cordova),but it is too slow. So I find Genymotion, which is faster than Codova. However I can't connect Genymotion to Visual Studio, because Visual Studio use Cordova and I can't choose genymotion device in device list. So anyone know how to fix it.
PS Really sorry to my terrible english language.
Upvotes: 8
Views: 13010
Reputation: 1774
I have the same setup, and my Visual Studio deployments were failing with no error, just failing to deploy to my GenyMotion Android.
So I discovered that there is a setting in GenyMotion (Settings -> ADB -> Use custom Android SDK) which MUST be the same as the SDK you are using in Visual Studio (Tools -> Options -> Xamarin Settings -> Android Settings -> Android SDK Location).
Once I changed this, it all "just worked"! And deployed super quick!!!
Upvotes: 6
Reputation: 109
No, for the moment Genymotion don't have an official plugin for Visual Studio, but you can open a device in Genymotion (like normally we does) and in Visual Studio choose the option "Device" for to run your project (for default the option is "Ripple - Nexus (Galaxy)") and press Ctrl+f5, with this way Visual Studio detect the device open with Genymotion and run your application.
Upvotes: 1
Reputation: 127
Guy was the same situation. I read an interesting way in this site Front In Brazil
Only start the emulator in GenyMotion and then run the command: ionic run android
and be happy.
Note: My English is worse.
Upvotes: 0