Visual studio emulator for android


#1

Hi ! :heart:
Please how to configure NativeScript With Visual Studio Emulator for Android!
and Thanks :slight_smile:


#2

hey @zaki, Please take a look at below mentioned links,

  • These may help to setup VS emulators!

http://docs.telerik.com/platform/appbuilder/nativescript/running-your-app/run-app-native-emulator

https://blogs.msdn.microsoft.com/devops/2014/11/12/introducing-visual-studios-emulator-for-android/

  • Any specific reason to go for Visual Studio Emulator? If not then you may follow NativeScript suggested way,

https://docs.nativescript.org/tooling/android-virtual-devices

https://developer.android.com/studio/run/managing-avds.html

https://blog.johanneshoppe.de/2016/06/setting-up-android-emulators-for-nativescript-development/

Cheers!


#3

I’ve already read it !
i chose VS Emulator because it’s much faster than native emulator


#4

this command

emulatorcmd.exe list /sku:Android /type:device

show a list of available devices

Identifier | Name | Version
-------------------------------------±-----------------------------±-----------
226C76AC-9E9A-4EBD-A495-79E8C5C5292F | 7" KitKat (4.4) XHDPI Tablet | 1.0.60404.1
363F7AED-462C-46BD-9FEC-F1DD3B79916C | 5" KitKat (4.4) XXHDPI Phone | 1.0.60404.1

and with this command you can run a device with (Identifier) code:

emulatorcmd.exe /sku:Android launch /id:226C76AC-9E9A-4EBD-A495-79E8C5C5292F


#5

Hi Everyone!

This is my detailed answers on Stack Overflow

Good Luck :heart: — ZAKI


#6

Good work @zaki.

Did you got the expected fast compare to native emulators?

Share your experience here!