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.