How ADB connects to Android simulator

Source: Internet
Author: User

ADB full name Andorid Debug Bridge.       As the name implies, this is a debug tool. But why is it called bridge? Because ADB is a standard CS structure tool, it is to connect the development computer and your debug phone. Contains the following sections:

    • Client side, running in the development machine, that is, your development PC. Used to send ADB commands.
    • The Deamon daemon, running on the debug device, is the debug phone or emulator.
    • Server side, as a background process running in the development machine, that is, your development PC. Used to manage communication between the client side of the PC and the deamon of the phone.

We will use the simulator to assist our link testing, the current mainstream simulator connection mode is also different

127.0. 0.1

The default connection command port for ADB is Port 5555, and the common simulator on the market has its own port.

cmd command :

Night God simulator: ADB connect 127.0.0.1:62001

Carefree simulator ADB Connect 127.0.0.1:21503

Steps:

1. Open Android Simulator, set, about Mobile/PC, click 5 version number, enter developer mode

2. Start the night God simulator First, then run the cmd command, CD to the night God installation directory, execute the command

127.0. 0.1:62001

Connecting to the emulator

How ADB connects to Android simulator

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.