How do I run an Android emulator automatically fro

2019-01-17 20:14发布

I need to know how to run an Android emulator automatically from Eclipse.

Any ideas?

2条回答
够拽才男人
2楼-- · 2019-01-17 20:54

There are two ways for that..

  • Launch AVD from Menu bar

    Steps :

    1. Click on Android Virtual Device Manager

      image1

    2. Select the device you have created and click Start

      image2

    3. Click Launch and wait to AVD be launched..

      image3

    4. Your AVD is running..

      image4

  • Launch AVD from Run Configuration

    Steps :

    1. Right click on Run icon at menu bar and select Run Configuration

      image5

    2. Select Target tab > Select third radio option says (Automatically pick compatible device : ...) > Tick your desire AVD you want to launch > click Apply > click Run

      image6

查看更多
狗以群分
3楼-- · 2019-01-17 21:04

Once you have installed ADT, you need to define an ADT launch configuration, in order for your project to execute itself as an Android executable.

Hello World Android


Then, do not forget to To go in Eclipse->Preferences->Run/Debug->Launching.
In the “Launch Operation” subsection, select “Always launch the previously launched application”:

Eclipse launching options

查看更多
登录 后发表回答