Specify a specific AVD when running the Android project for testing,

Source: Internet
Author: User

Specify a specific AVD when running the Android project for testing,

An Android project can create one or more avds to test a specified Android project. If only one AVD is created, the AVD is automatically started when the Android project is running, however, if multiple avds are created, how can we specify a specific AVD for Android project testing?

1. to better illustrate the problem, we have created two avds, respectively 01AVD and 02AVD, for example:


2. Create an Android project named HelloWord, as shown in:


3. Right-click the newly created Android project and choose "Run As"> "Run events...", As shown in the following figure:


4. Click "Run events..." and the following page appears:


5. Select and click the "Target" tab. The following page is displayed:


6. Select the AVD for testing the Android project at the location specified by the Red Circle, for example:


7. Click "Run" to Run the Android project with the specified AVD!




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.