Android Studio:我不小心从我的项目中删除了我的 app.iml 文件,我该如何添加它 [英] Android Studio: I accidentally deleted my app.iml file from my project, how do I add it

查看:36
本文介绍了Android Studio:我不小心从我的项目中删除了我的 app.iml 文件,我该如何添加它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在,我的项目将无法运行...它告诉我我的应用程序模块丢失了.以前有人遇到过这个问题吗?我不知道那个文件中有什么信息,所以我不知道该怎么做.任何建议将不胜感激:-)

Now, my project will not run...it is telling me that my app module is missing. Has anyone had this problem before? I have no idea what information was in that file, so I dont know what to do. Any recommendations would be appreciated :-)

推荐答案

我打开右侧的Gradle 项目"窗格,按住 alt 键单击该项目,然后刷新 Gradle 项目",一切都已修复.

I opened the "Gradle projects" pane on the right, alt-clicked the project, then "refresh Gradle project" and all was fixed.

这篇关于Android Studio:我不小心从我的项目中删除了我的 app.iml 文件,我该如何添加它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆