ionic build android命令无效

时间:2015-12-16 10:05:08

标签: windows cordova sdk ionic

我是离子的新手,我已经按照以下步骤设置了从ionicframework网站开发离子应用程序的环境,但我仍然坚持使用ionic build android命令因为我得到了这个错误

[Error: Please install Android target: "android-17". Hint: Open the SDK manager by running: C:\Program\ Files\Android\android-sdk\tools\android.BAT You will require: 1. "SDK Platform" for android-17 2. "Android SDK Platform-tools (latest) 3. "Android SDK Build-tools" (latest)] ERROR building one of the platforms: Error: cmd: Command failed with exit code 2 You may not have the required environment or OS to build this project Error: cmd: Command failed with exit code 2 并且安装了所有这些构建工具和平台工具。请问可能是问题。在win cmd上的android命令工作正常,因为它打开了sdk管理器

Error image

0 个答案:

没有答案