phonegap 安装报错 “ANDROID_HOME is not set and "android" command not....”
2015-01-27 11:09
513 查看
ANDROID_HOME=$HOME/Git/adt-bundle-linux/sdk export ANDROID_HOME PATH=$PATH:$ANDROID_HOME ANDROID_PLATFORM_TOOLS=$ANDROID_HOME/platform-tools export ANDROID_PLATFORM_TOOLS PATH=$PATH:$ANDROID_PLATFORM_TOOLS ANDROID_TOOLS=$ANDROID_HOME/tools export ANDROID_TOOLS PATH=$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%
之后,执行以下语句就成功了
相关文章推荐
- ANDROID_HOME is not set and "android" command not
- "Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.".
- "ANDROID_HOME is not set and "android" command not in your PATH. "错误的解决办法
- ANDROID_HOME is not set and "android" command not in your PATH解决
- Eclipse"Warning: The environment variable HOME is not set."
- 【解决办法】Hadoop安装完后,启动时报Error: JAVA_HOME is not set and could not be found.
- Hadoop 2.7 伪分布式安装配置 Error: JAVA_HOME is not set and could not be found.
- mysql: Character set 'utf8mb4' is not a compiled character set and is not specified in the '/usr/sha
- VS2005智能设备项目的Bug:"The OutputPath property is not set for this project..."
- Android:导出签名APK时,出现"app_name" is not translated 错误
- Why is "opatch auto" not patching my RAC database home?
- start-all.sh JAVA_HOME is not set and could not be found
- Cordova 3.0 Plugin 安装 及"git" command line tool is not installed
- 配置ant遇到"ANT_HOME is set incorrectly"错误。
- CentOS hadoop启动错误 JAVA_HOME is not set and could not be found
- 安装xp提示光驱启动"bad command"或"file not found"
- [Sybase]Character set conversion is not available between client character set 'iso_1' and server character set 'cp936'.
- 百度LBS云搜索时报错 "filter:area is not filteable field, please set property in the cloud-storage
- "/usr/src/linux/include" is not an existing directory时的VMware Tools的安装
- CentOS hadoop启动错误 JAVA_HOME is not set and could not be found