Issue
When I try to run the emulator on Android studio it prints: "PANIC: Could not find Nexus_5_API_21.ini file in $ANDROID_AVD_HOME nor in $HOME/.android/avd" and nothing happens.
I have tried setting the ANDROID_AVD_HOME variable with no luck. Where should I set the environment variables? I have tried to set ANDROID_SDK_HOME too, but I dont know where to set it.
I am using Ubuntu Gnome 14.04 and Android Studio 1.0.1
Thanks
Solution
This is just a workaround.
It's possible that the files aren't present in the $HOME/.android at all in Linux. The files should be present in /root/.android/. So copy everything from /root/.android/ to ~/.android/ (or /home/username/.android/) and it should work!
Answered By - aandis
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.