且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

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

更新时间:2021-11-17 20:40:56

更新 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.