error: could not find gradle wrapper within android sdk. might need to update your android sdk

cordova, gradle

Solution

If you have Android Studio installed, try to copy the templates directory of Android Studio

C:\Program Files\Android\Android Studio\plugins\android\lib\templates

to your android sdk tools directory:

C:\Android\sdk\tools

This did the trick for me :)

Problem

build-tools is: android-5.1 platform-tools updated my platforms are android-5.1 android-17

Original source

Related problems