Original: http://blog.csdn.net/kongxx/article/details/68954151
Run "Cordova build Android" error on Windows7 as follows:
C:\test\hello> Cordova build Androidandroid_home=c:\Users\kongxx\appdata\Local\android\sdkjava_home=c:\Program Files\java\jdk1.8.0_121error:could not find Gradle wrapper within Android Sdk. Might need to update your Android SDK. Looked here:c:\users\kongxx\ Appdata\local\android\sdk< Span class= "Hljs-command" >\tools\templates\gradle\wrappe
Solutions
- Download Android SDK Tools package (Https://dl.google.com/android/repository/tools_r25.2.3-windows.zip)
- Enter the C:\USERS\\APPDATA\LOCAL\ANDROID\SDK directory
- Backup Tools Directory
- Unzip the tools directory in the package to this directory
- Go to the Engineering catalog and run "Cordova build Android" again.
Windows Cordova Build Error:could not find Gradle wrapper within Android SDK. Go