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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With