I create a project and upload it to github , then when I copy a project with git in a new place, Android Studio complains that no modules were found and indicates the absence of *iml files and the project is not visible in AS . Such a thing always appears when i use some additional dependency . After clicking "Refresh all Gradle projects", new *iml files are created and everything works.
Why is it so? Do I need to load *iml on git (that is, remove them from gitignore ) or should I gitignore it in the AS somewhere in the settings so that it automatically creates *iml ?