Ionic Android构建期间出错:未找到已安装的构建工具

时间:2017-10-22 14:38:06

标签: android cordova ionic-framework ionic2 ionic3

当我在离子项目的根目录中运行 ionic cordova build android 命令时,我收到此错误:

FAILURE: Build failed with an exception.

Where: myAPP/platforms/android/CordovaLib/cordova.gradle' line: 64

What went wrong: A problem occurred evaluating root project 'android'.
No installed build tools found. Please install the Android build tools version 19.1.0 or higher.

我的环境变量:

ANDROID_HOME = C:\ Program Files \ Android \ Android Studio \ gradle \ m2repository \ com \ android

GRADLE_HOME = C:\ Program Files \ Android \ Android Studio \ gradle \ gradle-3.2

路径= C:\ Program Files \ Android \ Android Studio \ gradle \ m2repository \ com \ android \ tools \ sdk-common; C:\ Program Files \ Android \ Android Studio \ gradle \ gradle-3.2 \ lib; C :\ Program Files \ Android \ Android Studio \ gradle \ m2repository \ com \ android \ tools \ build \ builder

已安装的构建工具(在此文件夹中:C:\ Program Files \ Android \ Android Studio \ gradle \ m2repository \ com \ android \ tools \ build \ builder):

2.3.0

2.3.1

2.3.2

2.3.3

在C:\ Program Files \ Android \ Android Studio \ gradle \ m2repository \ com \ android \ tools \ sdk-common文件夹中:

25.3.0

25.3.1

25.3.2

25.3.3

0 个答案:

没有答案