为什么构建不起作用?我有Android SDK,如截图所示。
>cordova build
cordova-custom-config: Skipping auto-restore of config file backup(s)
ANDROID_HOME=C:\Users\tpt\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_121
Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Looked here: C:\Users\tpt\AppData\Local\Android\sdk\tools\templates\gradle\wrapper
答案 0 :(得分:0)
似乎Android Studio不使用模板,因此手动复制和粘贴模板有效: