2

I am on an Arch Linux x86_64 bit system, 4 Cores, Intel i5 processor and 4 GB RAM.

I've been trying to run Android Emulator from the command line by doing $ANDROID_HOME/emulator/emulator -avd "Nexus_5_API_26", but I'm getting the following error:

PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [/home/cocoa/Downloads/SDK/]!

Here are the contents of that directory. I've tried the following post:

PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value

Doesn't work. Thank you in advnace for replying

Jatin Kaushal
  • 33
  • 2
  • 7

2 Answers2

-1

You can try using this:

cd $HOME/Android/Sdk/emulator; ./emulator -use-system-libs -avd Nexus_5_API_26 -netdelay none -netspeed full
Niraj Niroula
  • 2,376
  • 1
  • 17
  • 36
Ivan Hreskiv
  • 1,045
  • 1
  • 11
  • 18
-1

I have the exact solution

ANDROID_SDK_ROOT path variable should point to the folder, which looks like below. enter image description here.

After the update of either underlying Linux System or Android system, we, each time we run the bash terminal, we need to update/run ANDROID_SDK_ROOT path variable. The bash.bashrc inside the /etc directory script runs everytime we open bash terminal.

Add, at the last line, your /etc/bash.bashrc file as below.

export ANDROID_SDK_ROOT=/home/upg/Android/Sdk

Other than this, if you want to update other environmental variables, such as $PATH, you can update that too there in bash.bashrc file.

Uddhav P. Gautam
  • 7,362
  • 3
  • 47
  • 64