我正在尝试构建一个IONIC项目,但我遇到了这个异常,我无法为此调试解决方案。
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> failed to find Build Tools revision 24.0.1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
Error: Error code 1 for command: cmd with args: /s,/c,"C:\application\Qrioh\plat
forms\android\gradlew cdvBuildDebug -b C:\application\Qrioh\platforms\android\bu
ild.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"
答案 0 :(得分:0)
转到文件>项目结构>选择模块>属性
选择Build Tools Version与在Compile Sdk Version中选择的版本相同。
希望这能解决您的问题。