[英]black screen in Android emulator in Ubuntu VM in Windows 7
I built AOSP 5.1.0_r5 (LMY47O) with no modifications done to the source code. 我构建了AOSP 5.1.0_r5(LMY47O),未对源代码进行任何修改。 The build process ends with "success" and I get bunch of *.img files in out/target/product/deb .
构建过程以“成功”结束,我在out / target / product / deb中得到了一堆* .img文件。 Sadly, executing emulator -verbose produces the generic emulator window with an empty screen and following output in the console .
可悲的是,执行emulator -verbose会产生一个带有空白屏幕的通用模拟器窗口,并在console中输出以下内容。 I see nothing that would explain the black screen.
我看不到任何可以解释黑屏的信息。 (I am looking at the black screen for tens of minutes, hence I doubt it is "merely very slow.")
(我在黑屏上看了几十分钟,因此我怀疑它“仅非常慢”。)
My environment is Ubuntu 16.04 running in VirtualBox under Windows 7, no IDE involved. 我的环境是在Windows 7下的VirtualBox中运行的Ubuntu 16.04,不涉及IDE。
Just an assumption. 只是一个假设。 You have a line in your output:
Failed to create Context 0x3005 Could not initialize emulated framebufferemulator: Can't start OpenGLES renderer?
输出中有一行:
Failed to create Context 0x3005 Could not initialize emulated framebufferemulator: Can't start OpenGLES renderer?
It seems that this is the cause of the problem. 看来这是问题的原因。 Could you please install the following libraries
sudo apt-get install mesa-utils-extra
and run your emualator once again? 您能否安装以下库
sudo apt-get install mesa-utils-extra
并再次运行您的仿真器?
PS What is the target deb
? PS目标
deb
什么? Try to build the AOSP using a recommended target, eg, aosp_arm-eng
. 尝试使用推荐的目标(例如
aosp_arm-eng
构建AOSP。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.