AndroVM 可以让你在虚拟机环境中运行 Android

http://wenku.baidu.com/view/f4dbda84a0116c175f0e480f.html

 

androVM是专为虚拟机运行安卓系统的开发项目,与普通的android x86相比做了很多优化,官网http://androvm.org/ ,而且提供虚拟机下载,有兴趣的可以关注一下

virtualbox 下跑 android x86一顿一顿的,兼容性也很烂,看看这个优化版如何

 

如果覺得Bluestacks有任何不理想,或者用不到Bluestacks的話,可以試試使用VirtualBox玩陰陽錄。

首先下載並安裝VirtualBox:

https://www.virtualbox.org/wiki/Downloads (選擇"for Windows host的")

接著下載AndroVM的VirtualBox Appliance: 

http://androvm.org/blog/download/ (選擇"vbox86p version with gapps & houdini"的那一個)

 

在VirtualBox Import AndroVM,就可以啟動。

androVM更新至4.1后功能上已经比较完美了,支持中文输入法,支持QQ手雷等常用软件,实用性比较高。由于国外资源下载比较慢,已上传androVM_vbox86t_4.1.1_r4-20121119-gapps-houdini-flash.ova 至度盘 http://pan.baidu.com/share/link?shareid=158845&uk=3591794140 再提供一个buildroid_vbox86t_4.0.4_r1.1-20120530_gapps.ova的下载http://pan.baidu.com/share/link?shareid=177690&uk=3591794140 

如果去官网下载的话,资源版本根据文件名区分,首先t是平板,p是手机,tp应该是混合了平板和手机。
然后是发布时间,这个没关系
最后如果带有gapps-houdini-flash就说明集成了谷歌服务和flash,没有的话说明是精简版

t和p的区别:t是横屏而p是竖屏,鉴于电脑屏幕还是推荐横屏


值得一提的是虚拟机可以更改屏幕分辨率(重启生效),点开androVM Configuration选择合适的分辨率,最高是宿主机的分辨率,在热键+F全屏模式下使用比较完美

如果分辨率调得比较小了,像我这样,就会变得像手机,下方的虚拟键就会消失,这时候可以使用键盘代替,esc是返回键,F1是菜单键,而Home是首页键,不是带有windows图标的键

AndroVM – Configuration Tutorial

Here is a small tutorial to help you setting-up AndroVM with hardware accelerated OpenGL rendering, using VirtualBox.
I will assume that you already have VirtualBox installed and working.

Network Adapter

To run with hardware acceleration, as for using the ADB with AndroVM, you’ll need an “Host Only” network adapter. To create one, open VirtualBox, get to the “File” menu, “Preferences…”, “Network”.

Don’t forget to enable DHCP Server for this network adapter.

Importing VM

Now, you can import the VM into VirtualBox. Just double-click on the OVA file, or use “File” menu, “Import Appliance”.
It can be a good idea to rename the VM into something more friendly.

Setting-up VM

By default, AndroVM has its first network adapter set to disable. Go to the VM network settings and set it to “Host Only Adapter”

Then, start the VM. Now, you’ve got a fully functional software-rendered AndroVM. Now, open the AndroVM Config app, and check the box to enable hardware OpenGL.

Note that you might see the VM IP on the top off the app. This is the Management IP. You can adb connect this IP.
If there’s no IP address, then you won’t be able to use hardware OpenGL. Verify your host-only adapter configuration.
Click on the “Save” button, The VM will restart.

The VM will stay in that state. Now it’s time to run the AndroVMplayer.

AndroVMplayer

The AndroVMplayer is a software used to display the VM content and manage its events. It won’t work if the VM is not running !
Open a command line interpreter, get to the AndroVMplayer directory, and type :
AndroVMplayer [width] [height] [density]

Wait a few seconds, and the Android boot animation will appear in the AndroVMplayer.

Typical problems

Step 8: the AndroVMplayer blocks on “waiting for connection from VM”

§ If the VM shows a Management IP, try to connect to the VM through adb. If it doesn’t work, then turn off your firewall 

§ If the VM doesn’t show a Management IP, the your network adapter is not well configured 

The VM displays “init: untracked pid xxxx”

§ It means that the VM is waiting for the AndroVMplayer. Just launch it ! 

这里是一个小的教程,以帮助您设置的AndroVM的硬件加速OpenGL渲染,使用VirtualBox。

我将假定您已经安装和使用VirtualBox.

要运行的硬件加速,作为使用AndroVMde adb功能,,你需要一个“主机”网络适配器。要创建一个开放的VirtualBox,在“文件”菜单中的“首选项...”,“网络”。

不要忘了为这个网络适配器启用DHCP服务器。

现在,您可以导入VM VirtualBox的。只需双击OVA文件,或使用“文件”菜单,“导入应用”。

它可以是一个好主意,重命名虚拟机的东西更友好。

默认情况下,AndroVM有它的第一个网络适配器设置为禁用。转到虚拟机的网络设置,将其设置为“主机,只有适配器”

然后,启动VM。现在,你已经有了一个功能齐全的软件渲染AndroVM。现在,打开AndroVM的配置应用程序,并选中该框,启用硬件的OpenGL。

请注意,您可能会看到应用程序窗口上面的IP。这是管理IP。您可以用ADB连接此IP。

如果没有IP地址,那么你将不能够使用硬件的OpenGL。验证您的主机适配器配置。

点击“保存”按钮,虚拟机将重新启动。

VM将留在该状态。现在,是时间运行AndroVMplayer。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值