码迷,mamicode.com
首页 > 移动开发 > 详细

ANDROID_HOME is not set and "android" command not

时间:2014-12-25 11:34:16      阅读:240      评论:0      收藏:0      [点我收藏+]

标签:

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

标签:

原文地址:http://my.oschina.net/u/1266171/blog/360299

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!