How do I run an Android emulator automatically from Eclipse?

前端 未结 2 1750
温柔的废话
温柔的废话 2020-12-09 03:12

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

Any ideas?

相关标签:
2条回答
  • 2020-12-09 03:20

    There are two ways for that..

    • Launch AVD from Menu bar

      Steps :

      1. Click on Android Virtual Device Manager

      2. Select the device you have created and click Start

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

      4. Your AVD is running..

    • Launch AVD from Run Configuration

      Steps :

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

      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

    0 讨论(0)
  • 2020-12-09 03:40

    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

    0 讨论(0)
提交回复
热议问题