Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weex踩坑-Environment variable $ANDROID_HOME not found #5

Open
rico-c opened this issue Oct 27, 2018 · 0 comments
Open

Weex踩坑-Environment variable $ANDROID_HOME not found #5

rico-c opened this issue Oct 27, 2018 · 0 comments
Labels

Comments

@rico-c
Copy link
Owner

rico-c commented Oct 27, 2018

执行 weex run android 后报错Environment variable $ANDROID_HOME not found

解决:

  • 打开android studio 打开preferences - appearance - system settings - android SDK 复制Android SDK Location
  • 打开命令行输入open .bash_profile打开.bash_profile文件,将Android Home 项换为复制的地址
  • 进入项目目录执行source ~/.bash_profile

done

@rico-c rico-c added the Weex label Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant