ANDROID_HOME is not set and "android" command not

来源:互联网 发布:知有陈迹而不知有今务 编辑:程序博客网 时间:2024/06/11 03:35
ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of the

ANDROID_HOME=$HOME/Git/adt-bundle-linux/sdk export ANDROID_HOMEPATH=$PATH:$ANDROID_HOMEANDROID_PLATFORM_TOOLS=$ANDROID_HOME/platform-tools export ANDROID_PLATFORM_TOOLSPATH=$PATH:$ANDROID_PLATFORM_TOOLSANDROID_TOOLS=$ANDROID_HOME/tools export ANDROID_TOOLSPATH=$PATH:$ANDROID_TOOLS export PATH
PATH=$PATH:$HOME/

添加  以下四个系统变量

ANDROID_HOME =  D:\Android\adt-bundle3\adt-bundle-windows-x86-20131030\sdk

ANDROID_PLATFORM_TOOLS = D:\Android\adt-bundle3\adt-bundle-windows-x86-20131030\sdk\platform-tools

 ANDROID_TOOLS = D:\Android\adt-bundle3\adt-bundle-windows-x86-20131030\sdk\tools

在path 最后,添加  ;%ANDROID_HOME%

0 0
原创粉丝点击