Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.iml file does not exist - Android Studio

I'm trying to clone a project from BitBucket to my Android Studio. Finally it ends up with the error .iml file does not exist. What am I doing wrong?

enter image description here

Edit:- Once project is loaded from my repo, it says Error loading project. Two modules can not be loaded, those two modules are .iml files.

like image 320
Sumukha Aithal K Avatar asked Jan 30 '16 15:01

Sumukha Aithal K


People also ask

Where is the .IML file?

iml file in the project root, plus one . iml file in each module directory (e.g., app/ ). You might try Tools > Android > Sync Project with Gradle Files. Otherwise, you may need to re-import the project.

How do I run a .IML file?

However, if you want to open an IML file, you can open it using any text or source code editor, such as Notepad++ (Windows), Microsoft Visual Studio Code (cross-platform), or GitHub Atom (cross-platform).

What is * .IML file in android project?

IML is a module file created by IntelliJ IDEA, an IDE used to develop Java applications. It stores information about a development module, which may be a Java, Plugin, Android, or Maven component; saves the module paths, dependencies, and other settings.

What is .IML file in IntelliJ?

A module file (the . iml file) is used for keeping module configuration. Modules allow you to combine several technologies and frameworks in one application. In IntelliJ IDEA, you can create several modules for a project and each of them can be responsible for its own framework.


1 Answers

It happened to me when I open my app from Android Studio's "Open Recent" option after cloning from my repository. Just close the app and re-open from "Open" option. It worked for me.

like image 161
Khaled Saifullah Avatar answered Sep 19 '22 09:09

Khaled Saifullah