2
I am having problem with the environment variable ANDROID_HOME, whenever I try to run the command to run an app in the emulator (or mobile connected), this error message appears
Error: Failed to find 'ANDROID_HOME' environment variable. Try setting setting it manually.
Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.
I’ve tried a lot of things I’ve seen on the Internet and nothing’s worked, can anyone help me? I’m using Deepin Linux.
When executing echo $ANDROID_HOME
the result is /home/rafael/Android/Sdk
When I give echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/home/rafael/bin:/usr/local/java/jdk1.8.0_131/bin:/home/rafael/Android/Sdk/tools:/home/rafael/Android/Sdk/platform-tools:/home/rafael/Android/Sdk/tools:/home/rafael/Android/Sdk/platform-tools
Possible duplicate of https://answall.com/q/49847/3635 and https://answall.com/q/176032/3635
– Guilherme Nascimento