编译项目时出现此错误: Error: SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable. This is a screenshoot of the error
我该如何解决? SDK位置很好 . 问题是我不是什么是ANDROID_HOME环境变量 .
编译项目时出现此错误: Error: SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable. This is a screenshoot of the error
我该如何解决? SDK位置很好 . 问题是我不是什么是ANDROID_HOME环境变量 .
1 回答
如果您使用的是Windows:
添加变量ANDROID_HOME作为变量名称,并将sdk路径添加为其值 .
希望这可以帮助 .