执行以下命令时,报错:
配置环境变量
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