Error: Could not find gradle wrapper within Android SDK

Workaround is to install old version of SDK tools. It cannot be done with SDK manager because the old versions are not listed there.

See http://stackoverflow.com/questions/26016770/how-to-install-old-version-of-android-build-tools-from-command-line

  1. First download the latest “pre 25.3.0” version. In my case (on MacOS): https://dl.google.com/android/repository/tools_r25.2.5-macosx.zip
  2. Then remove Android SDK Tools with SDK Manager
  3. Finally unzip the downloaded file in your SDK folder (/Users/clementcontet/Library/Android/sdk/ on my computer).
11 Likes