如何使用Android操作系统的VirtualBox的设备在Eclipse [英] How to use Android OS VirtualBox as device in Eclipse

查看:267
本文介绍了如何使用Android操作系统的VirtualBox的设备在Eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现这个教程如何在这里运行Android操作系统:<一href="http://www.java$c$cgeeks.com/2010/06/install-android-os-on-pc-with.html">http://www.java$c$cgeeks.com/2010/06/install-android-os-on-pc-with.html

I found this tutorial on how to run Android OS here: http://www.javacodegeeks.com/2010/06/install-android-os-on-pc-with.html

有没有人尝试使用设置了作为替换为模拟器?如果是这样,你是怎么做到的呢?

Has anyone tried to use the set-up as a replacement for the emulator? If so, how did you do it?

推荐答案

我也没用过,你链接到指导,而是下载的EeePC的图像从的 Android的86项目。我遵循的步骤是:

I haven't used the guide you link to, but instead downloaded an eeepc image from the Android x86 Project. The steps I followed are:

  • 在安装Android到虚拟PC - 我用一个64位的虚拟机,使所有的硬件​​虚拟化,并使用PCNET-FAST III虚拟网络适配器的桥接模式 - 看到图像的1
  • 禁用主机集成鼠标指针 - 这将使Android的显示它自己的鼠标指针,所以你知道你点击
  • 您需要解决哪些IP地址的虚拟机了,这样就可以用连接ADB连接&LT; YOUR_VIRTUALBOX_IP&GT; 。我这样做,登录到我的路由器,并确定共享端口与我的笔记本电脑设备的IP,因为这是Android的虚拟机使用桥接网络。见形象 2
  • Install Android to a virtual PC - I used a 64bit virtual machine, enabled all the hardware virtualisation, and used the PCnet-FAST III virtual network adapter in bridged mode - see image 1
  • Disable host mouse pointer integration - this will allow Android to display it's own mouse pointer so you know where you're clicking.
  • You need to work out what IP address the VM has, so that you can connect with adb connect <YOUR_VIRTUALBOX_IP>. I do this by logging into my router and identifying the IP of the device that shares the port with my laptop, since that's the Android VM using bridged networking. See image 2.

您都应该能够使用VBoxManage命令来确定客户的IP,但我从来没有得到这些工作,所以路由器的方法是唯一一个我有工作。

You are supposed to be able to use VBoxManage commands to identify the IP of the guest, but I've never gotten those working, so the router method is the only one I have that works.

性能是pretty的好 - 比运行兴田ARM仿真器,当然,不过,你只能运行已编译的x86 Android的版本更快

Performance is pretty good - much quicker than running hte ARM emulator, though of course, you can only run Android versions that have been compiled for x86.

这篇关于如何使用Android操作系统的VirtualBox的设备在Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆