The Android virtual machine cannot access the Internet.

Source: Internet
Author: User

The Android virtual machine cannot access the Internet.

When I got the project today, I suddenly found that the android virtual machine could not be connected to the Internet;

Method:

1. log on to the adb shell using the command line on windows, set setprop 192.168.1.33 to the local address, and change the DNS of the virtual machine.

2. after trying the first option, I thought it was like I had moved to the network last night. I used Connectify to share the network and open the network connection. As a result, the shared wifi was added and its service was automatically turned on, after it is disabled, it is automatically restarted for a period of time.

Solved successfully:

1. Go to windows "service" or press ctrl + alt + del to open the task manager. Click "service"-> Find "Connectify"-> right-click to stop the service;

2. Disable the enabled wifi in the Network Center.


Why can't I access the Internet when I use the vmwarevm to install android?

I use VMware8.0 to install Android-x86 2.3 is OK, as long as the installation process is OK, no need to set up can access the Internet, but I installed 3.2 and 4.0 can not find the relevant options of Ethernet settings, can not access the internet. However, if you do not pay attention to the 2.3 installation, you cannot access the Internet.
Do not be fully automatic during installation. ensure that:
1. Select Linux as the system and other linux 2.6.x kernel as the kernel version. Otherwise, the system cannot access the Internet.
2, the hard disk is set to IDE, otherwise in the standard mode can not download the Android-x86

In Windows, the android virtual machine is installed with vmware, but cannot be connected to the Internet.

How to install an android virtual machine requires vmware? Do you mean that the sdk is installed in the system of the virtual machine? If your virtual machine can access the Internet normally, it should be able to access the Internet. However, why not install the sdk directly in the original system? In this case, if the android virtual machine is OK, you can directly access the Internet (I tried ).
 

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.