Android studio - Cannot load settings from file app.iml, file does not exist?

穿精又带淫゛_ 提交于 2020-08-05 09:55:41

问题


I faced this when importing projects from online git repos directly using Android studio, turns out the iml file in .idea modules.xml reference, were not being generated.


回答1:


Simple goto project root:

  • Delete any .iml files in the whole repo.
  • Make sure android studio is closed, and enter ".idea" folder.
  • Delete the "modules.xml" file (where the missing files are being referenced).
  • Open your project in Android studio, and it will now generate the missing .iml files, as-well as the modules.xml file.
  • You will no longer get the annoying popup any longer!

Hope it helps.



来源:https://stackoverflow.com/questions/59840873/android-studio-cannot-load-settings-from-file-app-iml-file-does-not-exist

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