Android模拟器 – Ubuntu 12.04
当我输入命令
emulator @Andreud
‘Andreud’是我创建的AVD的名称,它给出了以下错误
PVRDRIInitPVR2D: PVR2D device index (0)Failed to load libGL.so error libGL.so: cannot open shared object file: No such file or directory Failed to load libGL.so error libGL.so: cannot open shared object file: No such file or directory
和模拟器窗口中的空白屏幕,我应该在那里获得android主屏幕,图标等显示。
根据评论,我尝试安装ia32-libs
aneesh@nb14:~$ sudo apt-get install ia32-libs Reading package lists... Done Building dependency tree Reading state information... Done Package ia32-libs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'ia32-libs' has no installation candidate
我希望主屏幕出现。 任何帮助是极大的赞赏。
在64位系统上,您需要Android SDK的32位库:
对于Ubuntu 13.04或更低版本:
sudo apt-get install ia32-libs
对于Ubuntu 13.10或更高版本:
sudo apt-get install libgl1-mesa-dev:i386
ia32-libs是一个32位兼容程序包,适用于64位系统,因此只提供此类软件包。 如果您已经安装了32位,则必须单独安装libGL:
sudo apt-get install libgl1-mesa-dev
键入命令
emulator-arm @Andreud
希望这可以帮助 :)