Android Network detection

Source: Internet
Author: User

This process, I think it's necessary to record
The cause of the matter is this, the program written in the virtual machine can not connect to the server, the first thought is that the virtual machine can not access the network, open a search site, normal, want to ping the server with the ping command, so there is the following process

First install the HyperTerminal, Baidu Input: Better Terminal, the first one is, here I also glue it
http://down.mobilesoftstore.com:8080/soft/1/chaojizhongduanzhuanyeban_7942_20121001.apk
Pull the downloaded APK package directly into the genymotion virtual machine, here note an APK package naming, as if the Chinese name will be error: An error occured while deploying a file. Install_failed_invalid_uri, a mistake like this

In short, change the name to English, no space for the package name, and then pull into the installation on the line, open software, such as

Direct click "Start session" to make a command line

Ping first, saying there's no such command

Use the tool to find Ping, found in the directory below the System/bin, locate the directory is right, and then execute the command, Error said operation is not allowed, that is, I do not have this permission to execute

Then use SU user to execute, pop up a window, say the software to use root user, allow not allowed, Dot always allow

After using the SU user, navigate to the System/bin directory again and execute the./ping-c 3 127.0.0.1, successfully using the ping command

You can use it to ping your server.

Android Network detection

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.