Eclipse simulator debugging development

How to use android studio or eclipse and emulator development

Commonly used simulators: night god, hippocampus, memu

After the installation of Hippocampus is completed, you cannot directly connect to eclipse, but if you connect to the night god in the following way, close the night god simulator, and then open the hippocampus to automatically connect. There should be a direct connection method. I don't understand

Night God needs to be set up to connect to eclipse

I believe that many android developers will encounter such problems


1. Mobile phones with different resolutions are required, and the cost is very high.

2. The USB cable is unstable, it is always easy to disconnect and reconnect

Then, please use the night god simulator to assist development, which is efficient and stable.

Intellij idea and eclipse are also applicable

Tools/Materials

  • android studio / intellij idea / eclipse
  • Nox Simulator

method/step

  1. Create your own project through android studio, the specific steps will not be discussed, please see the link for details:

    http://jingyan.baidu.com/article/a65957f4f1b4c724e67f9bc9.html

  2. Download and install the night god simulator, the night god simulation organ network download www.bignox.com

  3. Start the night god simulator first

    Then run the cmd command, cd to the night god installation directory, execute the command

    Under the window:

    nox_adb.exe connect 127.0.0.1:62001


    Under Mac, enter the package body contents -> MacOS to execute:

    adb connect 127.0.0.1:62001

    connect to emulator

    How to use android studio and night god simulator to develop and debug
  4. Through the new project in the first step, configure it according to the following figure, and start the debug

    How to use android studio and night god simulator to develop and debug
  5. The simulator selection box pops up. After OK, we can view and single-step debugging.

    How to use android studio and night god simulator to develop and debug
  6. Rendering 1

    How to use android studio and night god simulator to develop and debug
  7. Effect 2

    How to use android studio and night god simulator to develop and debug
  8. How to set the simulation rate

    How to use android studio and night god simulator to develop and debug
    END

Precautions

  • If you can't see the night god simulator in the fifth step, please restart the night god simulator after adb
  • intellij idea eclipse also works

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325557255&siteId=291194637