ss启动虚拟机时出现的问题:
PANIC: Could not find AVD_for_Galaxy_Nexus_by_Google.ini file in
$ANDROID_AVD_HOME nor in $HOME/.android/avd"!
ss 搜索到的方法之一:
sudo cp -R /root/.android $HOME
ss之后再次启动虚拟机出现下边的问题:
Cannot launch AVD in emulator.
Output:
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
ss再次搜索。
ss参照如下步骤操作:
First, install some packages and libs:
$ sudo apt-get install lib64stdc++6:i386
$ sudo apt-get install mesa-utils
Second, tweak some links:
$ cd YOURPATH/Android/Sdk/tools/lib64
$ mv libstdc++/ libstdc++.bak
$ ln -s /usr/lib64/libstdc++.so.6 libstdc++
Third, relaunch your AVD device and test it.
Alternative solution, available only by terminal is to launch emulator with:
$ emulator -use-system-libs -avd YOUR_VIRTUAL_DEVICE_NAME
That’s all. Enjoy it!