错误:'SDL初始化失败,原因是:启动AVD时没有可用的视频设备 [英] error: 'SDL init failure, reason is: No available video device' when launching AVD

查看:297
本文介绍了错误:'SDL初始化失败,原因是:启动AVD时没有可用的视频设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们,这是杀了我。每次我尝试在Eclipse中运行我的Android应用程序时,我收到错误:

  [2011-05-24 23 :11:04  -  app] Android Launch! 
[2011-05-24 23:11:04 - app] adb正常运行
[2011-05-24 23:11:04 - app]执行droid.blah.app活动启动
[2011-05-24 23:11:04 - app]自动目标模式:启动新的模拟器与兼容的AVD'默认'
[2011-05-24 23:11:04 - app]启动一个新的模拟器与虚拟设备'默认'
[2011-05-24 23:11:04 - 仿真器] SDL init失败,原因是:没有可用的视频设备

我正在运行Ubuntu 10.04 64 -bit和Android 2.3.3 SDK。我已经搜索EXHAUSTIVELY尝试找到一个解决方案,尝试安装所有的32位库,建议 here ,但已经安装。



我正在认真考虑只是移动到32位版本的Ubuntu,但是从我读过的其他人似乎可以使其工作。不是我!有人有任何建议吗?谢谢!

解决方案

您需要更多的32位库。 ;)



在Ubuntu / Debian运行:

  sudo apt-获取安装ia32-libs 


Hey guys, this is killing me. Every time I try to run my Android app in Eclipse, I'm getting the error:

[2011-05-24 23:11:04 - app] Android Launch!
[2011-05-24 23:11:04 - app] adb is running normally.
[2011-05-24 23:11:04 - app] Performing droid.blah.app activity launch
[2011-05-24 23:11:04 - app] Automatic Target Mode: launching new emulator with     compatible AVD 'default'
[2011-05-24 23:11:04 - app] Launching a new emulator with Virtual Device 'default'
[2011-05-24 23:11:04 - Emulator] SDL init failure, reason is: No available video device

I'm running Ubuntu 10.04 64-bit and the Android 2.3.3 SDK. I've googled EXHAUSTIVELY to try to find a solution, tried installing all the 32-bit libraries that were suggested here, but they're already installed.

I'm seriously considering just moving to the 32-bit version of Ubuntu, but it seems from what I've read that other people can get it working. JUST NOT ME! Does anyone have any advice? Thanks!

解决方案

You need more 32 bit libraries. ;)

On Ubuntu/Debian run:

sudo apt-get install ia32-libs

这篇关于错误:'SDL初始化失败,原因是:启动AVD时没有可用的视频设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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