Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio - Panic: Could not open AVD

After many hours of fixing Gradle issues, I was able to build my test app in Android Studio. But when I tried to run it in an AVD, it just won't open.

This is the log:

Waiting for device.
C:\Users\Rahaman\AppData\Local\Android\android-studio\sdk\tools\emulator.exe -avd testAVD -netspeed full -netdelay none

PANIC: Could not open: testAVD

P.S.: I've defined the environment variable ANDROID_SDK_HOME to point to the .android directory.

like image 721
a_rahmanshah Avatar asked Jun 08 '13 08:06

a_rahmanshah


People also ask

Why is my AVD not working?

On ChromeOS, Android Virtual Devices (AVDs) might fail to launch because the libnss3 dependency is missing. To launch the AVDs successfully, run sudo apt install libnss3 to manually install the libnss3 library.

Why AVD Manager is not working?

SDK Build Tools are not installed If it fails then you may have to install it again. You look at the build tab at the bottom of the screen, it will display the error message and option to install the Build tools. Install it and you should be able to see the AVD Manager. Another way is to go to the SDK Manager.

How do I open AVD?

Start the Android SDK Manager (select Start | All Programs | Embarcadero RAD Studio | Android Tools). In the Android SDK Manager, click the Tools menu and select Manage AVDs. In the Android Virtual Device Manager, select the emulator and click Start.


1 Answers

Okay, my libraries are in D: drive. So I had to copy the .android folder from d:\myName\ to c:\Users\myName\. That fixed it.

like image 71
a_rahmanshah Avatar answered Sep 21 '22 13:09

a_rahmanshah