

Updated answer according to attached source and suggestionsīuilding on my normal Android.

If your project is based on Gradle: in the new open/import dialog, you should check the "use auto import" checkbox and mark the "use default gradle wrapper (recommended)" radio button. Since version 0.3+ it seems you can commit and push *. This file should be located in the project's root folder and not inside the project's module folder. Since Android Studio 2.2 and up to 3.0, new projects are created with this gitignore file: *.imlĭeprecated - for older project format, add this section to your gitignore file:

#.idea/workspace.xml - remove # and delete. # Local configuration file (sdk path, etc) So, here's our gitignore file: #built application files A late answer but this alternative answer was not right for us.
