1. In Android Studio, click the Run menu, then click Edit Configurations ...
2. In Defaults/android application, set the target Device to Show Chooser dialog
3. Select Use same device for the future launches.
Another way to add a toolbar button to open vs Emulator
1.file>settings>external Tools
2.Click ADD
3. In the Create Tool Dialog, enter a name and description, then fill out program and parameters
Task |
Pragram |
Parameters |
Quick-launch a particular profile |
C:\Program Files (x86) \microsoft Emulator Manager\1.0\emulatorcmd.exe |
/sku:android Launch/id:[id of profiles you want to launch] |
Open Emulator Manager |
C:\Program Files (x86) \microsoft Emulator Manager\1.0\emulatormgr.exe |
/sku:android |
How do I get the device ID? Can be run by emulatorcmd.exe/sku:android List/type:device
4. Right-click on the Android Studio toolbar point and select Customize Menus and Toolbars ...
If there is no emulator running at the time of debugging, you can modify it like this:
Open the registry, under Hkey_local_machine\software\wow6432node\android SDK tools
Modify the path key value for your own Android SDK.
Original address: http://blogs.msdn.com/b/visualstudioalm/archive/2015/07/20/ You-can-now-acquire-the-visual-studio-emulator-for-android-on-its-own.aspx
Https://msdn.microsoft.com/en-us/library/mt228282.aspx#ADB
Let Android Studio use the Android emulator on vs