In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces "how to solve the problem that the android studo virtual machine can not be connected to the network". In the daily operation, I believe that many people have doubts about how to solve the problem that the android studo virtual machine cannot be connected to the network. The editor has consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubt of "how to solve the problem that the android studo virtual machine can not be connected to the network". Next, please follow the editor to study!
When the android studio running project was installed, it was found that the virtual machine could not be connected to the network. Check that the reason is because the DNS does not match the local machine. So look for the file of the relevant parameters in the corresponding AVD name in the modified AVD directory. Finally, it is found that the directory has the next related file emu-launch-params.txt, and my file path is D:\ XXX\...\ Sdk\ .Android\ avd\ Pixel_3_API_30.avdPixel_3_API_30.avd\ emu-launch-params.txt, depending on your actual situation.
Add to it
-dns-server
8.8.8.8 or 114.114.114.114
After I add it, it will be like this.
D:\ XXX\ XXX\ Android\ Sdk\ emulatorD:\ XXX\ XXX\ Android\ Sdk\ emulator\ emulator.exe5D:\ XXX\ XXX\ Android\ Sdk\ emulator\ emulator.exe-avdPixel_3_API_30-dns-server8.8.8.8
Restart the virtual machine and run it to connect to the network.
After running, the contents of the file look like this
D:\ XXX\...\ Android Studio\ jre\ binD:\ XXX\...\ emulator\ emulator.exe7D:\ XXX\...\ emulator\ emulator.exe-netdelaynone-netspeedfull-avdPixel_3_API_30
Note: the XXX in the directory is to abbreviate the local directory, depending on the installation on the respective machine.
At this point, the study on "how to solve the problem that the android studo virtual machine can not be connected to the network" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.