Can't import android project from git

牧云@^-^@ 提交于 2020-01-30 06:27:29

问题


I'm trying to clone a repository from my github into android studio. When I import, I get two errors:
ProjectName.iml does not exist
app.iml does not exist

I checked the paths that contain both of these files, and they do exist. Also, after that, I don't see the 'src' folder of my project within Android Studio.. I tried switching to Android view, and every other view there, to no avail. I checked the repository it created, but won't show up in Android Studio


回答1:


Its a known issue in the IDE,

Close the project, delete the project folder which is being created by the studio, re-open the IDE and create the project from the root folder again.

It should fix it.



来源:https://stackoverflow.com/questions/34583214/cant-import-android-project-from-git

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!