1. 环境的搭建 android stuio+genymotion
以前记得是用eclipse加上android sdk和virtual device,启动virtual device是巨慢无比,看到google最新推出的开发框架android studio( http://developer.android.com/sdk/index.html) 下来尝试,发现比较好用,借助google找到genyMothion的模拟器,说是好评如潮,弄了两次终于把virtual device连接起来,启动巨快。
1)下载 android studio(http://developer.android.com/sdk/index.html)
2)下载genymothion (https://www.genymotion.com)
3) virtualbox(https://www.virtualbox.org/
安装不表,请参考:http://blog.csdn.net/beiminglei/article/details/13776013,这个兄弟写的很详细。
注意问题:
0)打开
1)确保c盘有足够空间启动virtualdevice,也许是个人设置问题,我的机器需要在c盘空间足够。吐槽win8系统,50G的c 盘,占的满满的,winsxs目录很讨厌,但没法办,最后用的powercfg -h off把休眠去掉,省出6G空间。
2)出现"The Genymotion Virtual device could not obtain an IP address.For an unknown reason, VirtualBox DHCP has not assigned an IP address to virtual device. Run the VirtualBox software to check for issues."
是虚拟机的网络设置问题.特别是后两条的设置。
irst, go to the VirtualBox preferences -> Network.



For the "Host-only Networks" tab, focus on the vboxnet0.

Click the icon on the left that looks like a screwdriver. For the Adapter tab, fill in the IPv4 Network Address as 192.168.56.1 Fill in the IPv4 Network Mask as 255.255.255.0

For the DHCP Server tab, select the check box for Enable Server to enable the server Fill in the Server Address as 192.168.56.100 Fill in the Server Mask as 255.255.255.0 Fill in the Lower Address Bound as 192.168.56.101 Fill in the Upper Address Bound as 192.168.56.254


浙公网安备 33010602011771号