I tried to launch application in emulator in android Studio in ubuntu 14.04 and it shows the following errors.
I'm using Android Studio 2.3: edit file : .profile
export ANDROID_HOME=${HOME}/Library/Android/sdk
export PATH=${PATH}:${ANDROID_HOME}/emulator
before
export PATH=${PATH}:${ANDROID_HOME}/tools
Like:
I try with this code in .bashrc
now it's working:
export ANDROID_HOME=/home/AccountName/Android/Sdk
export PATH=${PATH}:${ANDROID_HOME}/emulator
So I looked around to find some similair posts that encountered what you did, for the 1st error I found this that might fix the issue:
qemu-system
for the second one:
I saw multiple people that had this issue (source not super relevant). Some recommended updating your android studio or the SDK. Seeing as this might intervene with the 1st error I recommend just doing the 1st step and then check again.
Also, this happened for me when I had the system image installed — but not the emulator itself.
Try copy 'lib' folder from your Android sdk location /Android/Sdk/tools/lib64/qt/lib to ../Android/Sdk/tools/lib/qt/lib
It may be Android Emulator is not installed.
To add it to the Android Studio installation, go to Tools->Android->SDK Manager
, select the SDK Tools
tab, then ensure that Android Emulator
is selected.