Android Studio, using an external emulator as an emulator to build app debugging

Source: Internet
Author: User

This article as a principle inquiry existence.

1, the author observed that the carefree and night God simulator itself, there is a adb.exe and nox_adb.exe exist, this thing is why use it.

should be communicating with the simulator itself, I test can call the devices command through their own adb, find their emulator name (IP: Port),

When multiple open, invoke command on the specified emulator, which is using the ADB-S emulator name Shell .... Called for the specified emulator. so the simulator name should be the only one that identifies the simulator .

2. Select the night God simulator to connect

2.1, first opened the night God to know the name of the night God Simulator. Do not know how to do, first find the root directory of the night God Simulator, Nox.exe directory, ADB and he in a place.

In the picture as a result, the simulator has not been found, so one of the two times the emulator is turned on again, until the end. An IP: Port appears, indicating that we have found the simulator.

2.2, moreover, we until Android Studio also has an ADB, my adb in the directory: C:\Users\Administrator\AppData\Local\Android\Sdk\platform-tools\.

So here is the only indication that the ADB is connected to the simulator.

    

Here, even if Android studio is connected to the emulator. Our Android studio can also be viewed above.

2.3. Click android Studio. Run->debug ' app ' will appear with multiple emulators to choose from.

Among them, Connected Devices. Is the external emulator that our ADB is connected to, according to this we can guess, should be able to connect to a number of simulators, do not believe, you try it.

3. Summary:

Written above so much, mainly, yesterday I happened to see, but also for a long time did not write a blog, especially Android Studio related, think how I am also the official Android Studio forum advanced users (top 100).

Shortcomings are unavoidable, welcome to point out, common learning progress.

4. Reference documents:

Android Studio: How to use Android studio to develop debugging with night God Simulator

How to debug on Android Studio using Run Getaway simulator

    

Android Studio, using an external emulator as an emulator to build app debugging

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.