1
Well, I have installed Ionic in the new version, and android studio normally and even these days worked. Now when I went to build, I returned these two errors:
Failed to find 'ANDROID_HOME' environment variable. Try setting it manually.
Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.
Then I checked if my environment variables were ok, and giving echo $ANDROID_HOME, I get '/home/Willian/Android/Sdk '. It’s exactly as it was when it worked, but now it can’t find the sdk.
I use linux Mint Cinnamon. Someone can give me a hand on this. Note: I saw several related questions, but none of them fixed this problem. Thanks in advance.
You could change the question by putting the result of this command: cat /etc/Environment?
– Vinicius Farias