Quick Tip: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.


If you try to build your ionic/cordova project running with

cordova build --release android

and the shell returns the following error

Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.

the following worked for me:

cordova platform remove android
cordova platform add android
cordova platform update android@6.2.1
cordova build --release android

There is nothing wrong with your gradle installation nor with your Android SDK. It looks like an error specific to cordova 6.2.0 and was fixed in cordova 6.2.1. At the time of writing, cordova installed 6.2.0 instead of version 6.2.1, so you need to manually update.

,

One response to “Quick Tip: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.”

  1. Hi,
    I have a similar problem like you had with flashing an Esp-01. But I have a NodeMcu (ESP-12E with USB serial, all 3.3V) instead of an Uno.
    Do you think this will work the same, without voltage divider, of course?
    And wouldn’t it be possible to simply use the arduino IDE for flashing? After all I’d like to flash my own sketches not some downloaded image.
    Greetings from Stuttgart :)