A problem occurred evaluating root project 'android'.
> No installed build tools found. Please install the Android build tools version
19.1.0 or higher.
ANDROID_HOME 环境变量检查下
1.Simply replaceSystem.getenv("ANDROID_HOME")with your real Android SDK path (but you should remember that SDK location differs on other PCs)
2.Setup correct path for$ANDROID_HOMEenvironment variable
3.You can set build tool version manually inbuild.gradlefiles and skip calling methods described above (be sure to setup it for all the modules in the app):
android { buildToolsVersion "your_version_here" }
发表评论 取消回复