SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
从Github上下载项目代码到本地,用Netbeans打开后,执行Clean and Build后,控制台报
* What went wrong:
A problem occurred configuring project ':android'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
解决方式:重新设置Android SDK即可
