build-tools is: android-5.1
platform-tools updated
my platforms are
android-5.1
android-17
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 :)
I had a similar problem with Android Studio running on a Mac.
I fixed it with the following commands:
cp -r /Applications/Android\ Studio.app/Contents/plugins/android/lib/templates ~/Library/Android/sdk/tools chmod a+x ~/Library/Android/sdk/tools/templates/gradle/wrapper/gradlew
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With