我运行了这个命令ionic cordova run android
,但它给出了这个错误:build tool not found
。当我运行android studio的构建函数正常运行没有任何错误。我只是不明白该怎么做。即使我删除了平台文件夹并添加了这个,但错误不会改变。 我离子生成失败,出现异常(生成工具未找到)
- Windows10
- 离子3.5
- 节点v6.11.1-64
- 模拟器:API 25
Running command - failed!
[ERROR] Cordova encountered an error.
You may get more insight by running the Cordova command above directly.
[ERROR] An error occurred while running cordova build android (exit code 1):
FAILURE: Build failed with an exception.
* Where:
Script 'E:\wamp64\www\nutricity\platforms\android\CordovaLib\cordova.gradle' line: 64
* What went wrong:
A problem occurred evaluating root project 'android'.
> No installed build tools found. Install the Android build tools version 19.1.0 or higher.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
你有什么科尔多瓦,Android平台的版本? –
安装的平台: android 6.2.3 –