I'm using Android Studio version 1.5.1 and we have a problem when cloning and working with Github. In my gitignore file I got a text saying *.iml, as I understand this means that all my iml files are ignored by git and not uploaded. When my project collaborators are cloning my project, they get a error message telling them that there is 2 missing iml files. They are asked to either keep or remove them. It doesn't matter which they do beacuse it still gives the same problem. They cannot code or build anything.
As I understand the iml files should not be uploaded to github but instead Android Studio should automaticly generate them when it is building or importing a project.
What have we done wrong?
An IML file is a module for a Java application created by IntelliJ IDEA integrated development environment. An IML module is usually stored in the root folder of a project. It contains module configuration for resource files and source code.
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.
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).
Description. EML, short for electronic mail or email, is a file extension for an email message saved to a file in the Internet Message Format protocol for electronic mail messages.
After cloning the repo, you should re-open the project with
File -> Open
and select your project you've just clone and android studio will re-build, re-index and re-create the .iml file :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With