vue.js - Environment variable $ANDROID_HOME not found !(macOS)
淡淡烟草味
淡淡烟草味 2017-06-08 11:02:50
0
1
1010

The sdk environment variable has been configured correctly and adb is available, but this error is still prompted? Please tell me what's going on? Also, does this have something to do with using sudo to create a project?

淡淡烟草味
淡淡烟草味

reply all(1)
仅有的幸福

echo $ANDROID_HOME outputs the android_home path to confirm whether it is set.
If not, edit /etc/environment and add ANDROID_HOME=/path/to/android/sdk
Execute source /etc/environment in the current session to ensure it takes effect

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template