Android模拟器是不是在linux工作 [英] Android emulator is not working in linux

查看:173
本文介绍了Android模拟器是不是在linux工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在开发我的Gentoo Linux的AMD64一款Android游戏使用Eclipse IDE与成功的Andr​​oid设备一段时间。但是,我需要测试我的比赛有不同的屏幕尺寸,以确保它仍然可以正确显示。在结果,我决定尝试模拟器。

I have been developing an android game on my gentoo amd64 linux for some time using the eclipse IDE with an android device successfully. However, I need to test my game with different screen sizes to make sure it still displays correctly. In result, I decided to try the emulator.

我设置一个,并在终端上键入./emulator -avd三星Galaxy系列后,什么也没有发生,它只是退出。亚行logcat只是继续记录 - 等待设备 - 。

After I set one up and type ./emulator -avd SamsungGalaxy in terminal, nothing happens, it just quits. adb logcat just continues to log - waiting for device -.

这是我试过了。

等待 - 我知道模拟器可能需要相当长的时间来启动

Waiting - I know the emulator can take quite some time to boot.

重新安装ADT和Android SDK

Reinstalling ADT and Android SDK

。重新启动Eclipse

Restarting eclipse

重新启动我的机器。

在很多谷歌和这个网站的搜索,我还是在那一刻难住了。任何想法是极大的AP preciated。谢谢你。

After lots of searching on google and this site, I am still stumped at the moment. Any ideas is greatly appreciated. Thanks.

推荐答案

Android的SDK是32位,因此在64位Linux系统,你需要安装包IA32-库。对于Ubuntu的,你可以通过下面的命令来实现。

The Android SDK is 32bit, therefore on a 64bit Linux system you need to have the package ia32-libs installed. For Ubuntu you can do this via the following command.

apt-get install ia32-libs

文章得到

这篇关于Android模拟器是不是在linux工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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