How to run Android emulator in ubuntu 16.04?

I have an Android sdk file installed, I looked at the routes that say to run ~/android-sdk-linux/tools/android, and then click on the tool menu, but there is no tool menu.

I also tried loading the virtual machine manager, but when I started this emulator, he said that I need to insert an SD card.

How to run android emulator on ubuntu 16.04?

+4
source share
3 answers

For Ubuntu 16.04, you need to download a few things first.

After installing Android Studio.

> Android > AVD Manager >

.

> Android > SDK Manager > SDK Android enter image description here

, - , .

sudo apt-get install lib64stdc++6:i386

sudo apt-get install mesa-utils

cd YOURPATH/Android/Sdk/emulator/lib64

mv libstdc++/ libstdc++.bak

ln -s /usr/lib64/libstdc++.so.6 libstdc++

.

+17

Run

~/android-sdk-linux/tools/android avd

AVD.

+3

, , :

cd ~/Android/Sdk/tools && ./emulator -avd NAME_OF_YOUR_DEVICE

:

cd ~/Android/Sdk/tools && ./emulator -avd Nexus_5X_API_23
0

Source: https://habr.com/ru/post/1657116/


All Articles