使用cordova 构建 Android 项目时报错:
PS A:\gfc> cordova build android
Checking Java JDK and Android SDK versions
ANDROID_HOME=C:\Users\danie\AppData\Local\Android\Sdk\build-tools\34.0.0 (recommended setting)
ANDROID_SDK_ROOT=undefined (DEPRECATED)
Using Android SDK: C:\Users\danie\AppData\Local\Android\Sdk\build-tools\34.0.0
BUILD SUCCESSFUL in 900ms
1 actionable task: 1 up-to-date
Subproject Path: CordovaLib
Subproject Path: app
FAILURE: Build failed with an exception.
* Where:
Script 'A:\gfc\platforms\android\CordovaLib\cordova.gradle' line: 73
* What went wrong:
A problem occurred evaluating script.
> No installed build tools found. Please install the Android build tools version 34.0.0.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 842ms
Command failed with exit code 1: A:\gfc\platforms\android\tools\gradlew.bat cdvBuildDebug

SDK 34.0.0.已经安装了。