如何在生成后运行Android模拟器? [英] How do I run the Android Emulator after a Build?

查看:299
本文介绍了如何在生成后运行Android模拟器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我必须成功下载源$ C ​​$ C,建造它成功,可以顺利运行模拟器。然而,它永远不会引导到实际的图像。相反,我看终端,它给了我下面的错误。

So I have download the source code successfully, built it successfully, and can run the emulator successfully. However it never boots into the actual image. Instead I look at the terminal and it gives me the following error.

OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x2deae10
OpenGL Warning: Retry with 0x105 returned 1 visuals
Failed to create Context 0x3005
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
destroyOpenGLSubwindow not implemented for separate renderer process !!!
createOpenGLSubwindow not implemented for separate renderer process !!!
repaintOpenGLDisplay not implemented for separate renderer process !!!
createOpenGLSubwindow not implemented for separate renderer process !!!
repaintOpenGLDisplay not implemented for separate renderer process !!!

我运行Ubuntu 10.04,虚拟盒里面。随着3D加速启用RAM和至少16GB献给框。

I am running Ubuntu 10.04, inside of Virtual Box. With 3D Acceleration enabled and at least 16GB of ram dedicated to the box.

基本上模拟器只是坐在那里了好一会儿,然后绘制周围模拟器窗口一个红色矩形。

Basically the emulator just sits there for a good while and then draws a red rectangle around the emulator window.

推荐答案

的Android模拟器|配置VM加速:

里面没有一个虚拟机 - 您不能运行另一个虚拟机内部虚拟机加速仿真器,如VirtualBox或VMWare的托管虚拟机。您必须直接在系统硬件上运行的模拟器。

Not Inside a VM - You cannot run a VM-accelerated emulator inside another virtual machine, such as a VirtualBox or VMWare-hosted virtual machine. You must run the emulator directly on your system hardware.

所以禁用3D加速功能,它应该工作。

So disable 3D acceleration and it should work.

另一种可能的选择:<一href=\"http://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp\">setup端口转发。你应该能够在主机系统和它的ADB服务器实例的设置听力上运行Android虚拟收听TCP连接请求。里面的Ubuntu的实例,告诉亚行连接到一个特定的地址。你需要设置从它转发到其主机莫名其妙。如果一切正常,你可以使用一个加速Android的虚拟机实例。

Another possible option: setup port forwarding. You should be able to run the Android VM on the host system and setup listening of its adb server instance to listen to TCP connection requests. Inside the Ubuntu instance, tell adb to connect to a specific address. You'd need to setup a forwarding from it to its host somehow. If this works, you could use an accelerated Android VM instance.

这篇关于如何在生成后运行Android模拟器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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