android studio打开项目出现找不到sdk错误

来源:互联网 发布:mac numbers 使用技巧 编辑:程序博客网 时间:2024/04/30 11:57
新导入项目出现Error:(16, 0) SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

原因:打开项目的方式不对

解决:原来打开新项目的的方式为file-open;后来改成了new-import project;就可以正常运行了;

参考连接 http://stackoverflow.com/questions/32623997/parsestarterproject-sdk-location-not-found-define-location-with-sdk-dir-in-th




0 1
原创粉丝点击