找回密码
 立即注册
The可以network虚拟 | android开发 2022-10-29 48 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
androidx86的使用就不多做介绍了,新手可以看看我的博客androidbin.iteye/blog/1460398会用的请注意以下几点,这是联网并进行eclipse开发的重要过程1.创建虚拟机的时候,网卡设置为,bridgedadapter这样虚拟机在局域网中有独立IP可以方便访问,然后控制芯片要选择为PCnet-FASTⅢ.2.进入android系统今后,4.0里面ctrl+f1是无效的,通过终端模拟器进入控制台界面,输入su使用管理员账户输入ipa检测网卡状况,会有eth0,不过是down状况输入dhcpcdeth0打开网卡eth0的dhcp功能输入setpropnet.dns18.8.8.8设定dns,这个8.8.8.8是google提供的,你换成自己电脑上的dns也可以的.上述过程设定好之后,使用netcfg就可以看到虚拟机的ip地址,虚拟机也可以上网了.并且可以连接ddms进行开发,不过需求用到网络的使用程序可能无法运行,由于虚拟机得不到网络服务.
android-x86-4.0-RC1-eeepc.iso
.....

(The use of androidx86 will not be introduced. Novice users can see what my blog androidbin.iteye/blog/1460398 will use. Please pay attention to the following points. This is an important process of networking and eclipse development. 1. When creating a virtual machine, the network card is set to Bridgedadapter, which has an independent IP address in the LAN for easy access. Then the control chip should be PCnet-FAST Ⅲ. 2. In the future, ctrl f1 is invalid in 4.0, Enter the console interface through the terminal simulator, enter su to use the administrator account to enter the ipa to detect the network card status, and there will be eth0, but it is down status. Enter dhcpcdeth0 to open the dhcp function of the network card eth0. Enter setpropnet.dns18.8.8.8 to set the DNS. This 8.8.8.8 is provided by Google, and you can also change it to the DNS on your computer After the above process is set, you can use netcfg to see the IP address of the virtual machine, and the virtual machine can also access the Internet And you can connect to the DDMS for development, but the user program that needs to use the network may not run because the virtual machine cannot get network services
android-x86-4.0-RC1-eeepc.iso
.....)

[下载]13500178974.rar




上一篇:BlueStacks:能让安卓App在PC运行【软件下载】
下一篇:7个Android应用程序源代码