Android studio之导入project出现SDK location not found. Define location with sdk.dir in the local.proper
1、问题
到入项目提示下面信息
SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
2、分析
很明显没有找到sdk location,Define location with sdk.dir in the local.properties,我们需要在这个配置文件
里面加上sdk路径
3、解决办法
先找到电脑里面的sdk路径,我用得ubuntu,找到sdk,然后再pwd一下,得到路径
然后在local.properties文件里面加入sdk路径就行了
sdk.dir =/home/***/sdk
赞 (0)