Android的86移植,无法使其工作 [英] Android x86 porting, unable to make it work

查看:161
本文介绍了Android的86移植,无法使其工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一种新的对整个移植问题,我得到了,因为在所提供的Andr​​oid SDK模拟器上的缓慢的吧。

I'm kind of new to the whole porting issue and I got to it because of the slowness in the emulator provided with the Android SDK.

我下载了Android的x86-3.2-RC2-的EeePC和android-x86-3.2-RC2-tegav2 ISO-ES(此的网站),并尝试他们在VirtualBox的,但对EeePC的版本和tegev2不会活动的开始没有互联网连接。

I downloaded the android-x86-3.2-RC2-eeepc and android-x86-3.2-RC2-tegav2 ISO-es (from this site) and tried them on the VirtualBox but have no internet connection on the eeepc version and the tegev2 wont event start.

我试过 VirtualBoxHowTo ,但一无所获,Windows和Linux平台上。让我进一步了解的唯一事情是你需要建立它的虚拟机,要使用此的虚拟机上。

I tried the VirtualBoxHowTo but got nothing, on both Windows and Linux platforms. the only thing I managed to understand is that to use this on a VM you need to build it for VM.

任何人都可以帮助我在这?

Can anyone help me on this?

PS:我需要在蜂窝版本(3.2)并 电脑我有一个AMD的6核的华硕十字Extreme主板,Windows 7或Ubunutu 11.10。 (这两个操作系统是64位)

P.S.: I need the HoneyComb version (3.2) and the pc I have is a AMD 6 core on and Asus Crosshair Extreme motherboard, Windows 7 or Ubunutu 11.10. (both OS are 64bit)

推荐答案

我解决了这个问题。这是我做的就是互联网连接。

I solved the problem. This is what I do to get internet connection.

在我的情况下,在网关地址是192.168.0.254,并在 DNS服务器是192.168.0.10。 我选择在未使用的(192.168.0.250),VirtualBox的主机的IP地址

In my case, the gateway address was 192.168.0.254 and the DNS server was 192.168.0.10. I select an IP address for the VirtualBox host from the unused ones (192.168.0.250).

1)首先,我把我的VirtualBox的网络配置:

1) First of all, I set my VirtualBox network configuration:

附:桥接适配器

适配器类型: PCNET-FAST III

2)在此之后,我开始从Android的VirtualBox的;开机后,我打开一个root shell,pressing ALT + F1

2) After that, I start Android from VirtualBox; after boot, I open a root shell, pressing Alt+F1

3)在这里,我使用以下命令:

3) Here, I use these commands:

ifconfig eth0 up 192.168.0.250
route add default gw 192.168.0.254 dev eth0
setprop net.dns1 192.168.0.10

4)现在,我返回到Android(Alt + F7),我可以在互联网上冲浪!

4) Now, I return to Android (Alt + F7), and I can surf on internet!

不幸的是,这个过程必须在每次启动的Andr​​oid跟着

Unfortunately, this process must be followed each time you start Android

为了获得网关和DNS IP地址,从Windows您可以使用此命令

In order to obtain gateway and DNS IP addresses, from Windows you can use this command

ipconfig /all

您必须指向你的网卡

这篇关于Android的86移植,无法使其工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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