The simulator cannot be connected to the Internet. The X number is displayed. solution:

Source: Internet
Author: User

In Linux and Windows, the execution sequence is basically the same:

1: After the simulation is started, enter ADB shell in the command line.

Enter the ADB environment (ADB environment variables need to be configured, please check the information online)

2: input: getprop


Use the getprop command to obtain all attributes.

3: find similar

[Net. dns1]: [] or [net. eth0.dns1]: []

This is the DNS of the simulator.

4. Modify DNS and enter setprop net. dns1

Or: setprop net. eth0.dns1

After modifying the 5dns, modify the IP address, search for the IP field, and set setprop.

6. The modification is complete. Run getprop to check whether the modification is correct.

7. Restart the simulator. OK.





Related Article

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: 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.