Android Studio-无法从文件app.iml加载设置,文件不存在? [英] Android studio - Cannot load settings from file app.iml, file does not exist?
本文介绍了Android Studio-无法从文件app.iml加载设置,文件不存在?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我直接使用Android Studio从在线git repos导入项目时遇到了这个问题,结果发现.idea modules.xml参考中的iml文件没有生成.
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.
推荐答案
简单的转到项目根目录:
Simple goto project root:
- 删除整个存储库中的所有.iml文件.
- 确保android studio已关闭,然后输入".idea"文件夹.
- 删除"modules.xml"文件(正在引用丢失的文件).
- 在Android Studio中打开您的项目,它现在将生成缺少的.iml文件以及modules.xml文件.
- 您将不会再看到烦人的弹出窗口!
希望有帮助.
这篇关于Android Studio-无法从文件app.iml加载设置,文件不存在?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文