Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
348 views
in Technique[技术] by (71.8m points)

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

enter image description here build-tools is: android-5.1

platform-tools updated

my platforms are
android-5.1
android-17

question from:https://stackoverflow.com/questions/31310182/error-could-not-find-gradle-wrapper-within-android-sdk-might-need-to-update-yo

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

C:Program FilesAndroidAndroid Studiopluginsandroidlibemplates

to your android sdk tools directory:

C:Androidsdkools

This did the trick for me :)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...