Let Android Studio use the Android emulator on vs

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.