Fix Cordova issue with Gradle Wrapper missing From Android SDK in MAC.

Out of the sudden I was not able to build and run my cordova projects on my android phone by getting “Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.” .

It was not a normal SDK issue. after looking around it turned out that Google has changed the location of gardle wrapper in their sdk which was causing cordova not being able to find it. thus trying to run / build the apk was giving out the below output:

Blame is on Google but it seems Apache has fixed this issue in the next version of android-platform for cordova. so if you are one of the victims of errors above you can do this to solve your problem.

lets hope this helps some people out there, stuck searching over a solution like me.

Incoming search terms:

  • mac cli Error: Could not find gradle wrapper within Android SDK Might need to update your Android SDK
  • Could not find gradle wrapper within Android SDK Might need to update your Android SDK
  • Error: Could not find gradle wrapper within Android SDK Might need to update your Android SDK
  • mac could not find gradle wrapper within android sdk
  • mac android gradle wrapper miss
  • gradle not found cordova
  • what wuld be the problem when android studio cant find the graddle wrapper file
  • could not find gradle wrapper within android sdk windows
  • could not find gradle wrapper within android copy templates
  • cordova 7 gradle wrapper fix

Join the Conversation

6 Comments

  1. OMG…I was having the similar issue and scratching my head since hour…

    Thanks a lot. Issue does get resolved.

Leave a comment

Leave a Reply