我運行了這個命令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 –