ubuntu android2.3 emulator,Android Studio 2.3 Ubuntu 16.10 emulator do not start
問題
Using Android Studio 2.3 and Ubuntu 16.10 the emulator did not start.
Message:
waiting emulator come on line.
How can I configure to emulator start?
回答1:
Source:
https://cialu.net/solve-android-studio-avd-issue-with-ubuntu-16-10/
sudo apt-get install lib64stdc++6:i386
sudo apt-get install mesa-utils
(look for the path of the sdk)
cd YOURPATH/Android/Sdk/emulator/lib64
mv libstdc++/ libstdc++.bak
ln -s /usr/lib64/libstdc++.so.6 libstdc++
Finally, run your application again using emulator.
回答2:
Instead of making changes to APT-managed system libraries (eek!), you can just add the following at the top of your bin/studio.sh file:
# Preload shared library required by Android emulator
export LD_PRELOAD='/usr/lib/x86_64-linux-gnu/libstdc++.so.6'
Tested on Ubuntu 16.10 with Android Studio 2.3.3.
回答3:
Just before following above commands make sure you did download the emulator first.
回答4:
For me, what worked was to add
export ANDROID_EMULATOR_USE_SYSTEM_LIBS=1
in my .profile and it worked without doing anything more.
回答5:
You can always try to kill the adb server first before starting it up again. It solves the problem most of the time! Terminal commands:
adb kill-server
adb start-server
回答6:
For me what worked was-
1- Select all x86 images in the respective phone model. Go to "show package details" option and enusre the x86 image options are selected for the respective chosen model.
2- Also make sure no other applications are open at the backend not even the browser. Because even that is leading to hang may be due to the configuration of the system that I have.
來源:https://stackoverflow.com/questions/42831999/android-studio-2-3-ubuntu-16-10-emulator-do-not-start
總結(jié)
以上是生活随笔為你收集整理的ubuntu android2.3 emulator,Android Studio 2.3 Ubuntu 16.10 emulator do not start的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 羊奶酪怎么制作的?
- 下一篇: 鸿蒙os智慧屏体验,华为智慧屏首发体验!