错误:无法找到gradle包装内的android sdk。可能需要更新你的android sdk

错误:无法找到gradle包装内的android sdk。可能需要更新你的android sdk

问题描述:

build-tools是:
android-5.1

build-tools is: android-5.1

平台工具已更新

我的平台是

android- 5.1

android-17

my platforms are
android-5.1
android-17

更新 ANDROID_HOME path

Update ANDROID_HOME path from

C:/Users/CURRENT_USER/android-sdk/tools/ 

C:/Users/CURRENT_USER/android-sdk

这应该可以解决问题
附加工具自动添加到您的 ANDROID_HOME ,因此它搜索graddle里面的tools / tools目录,根本不存在。

This should solve the problem When you build it appends tool automatically to your ANDROID_HOME therefore it searches for graddle inside tools/tools directory which is not present at all.