Failed to find 'ANDROID_HOME' environment variable

执行以下命令时,报错:
C:\Users\Administrator\myApp>ionic build android

[Error: Failed to find 'ANDROID_HOME' environment variable. Try setting setting
it manually.
Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to incl
de path to valid SDK directory.]
ERROR building one of the platforms: Error: cmd: Command failed with exit code

配置环境变量

ANDROID_HOME=E:\Program Files\adt-bundle-windows-x86_64-20131030\sdk

PATH=%PATH%;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools
阅读更多 登录后自动展开
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页