java - Android Studio JDK name wrong -


i contributing android project, using android studio ide. reason android studio's jdk name 'android api 22 platform (1)' , other contributor 'android api 22 platform' (stored in app.iml file) every time have update branch has changed. there way change name of jdk 'android api 22 platform' same.

many in advance. should git ignore .iml files?

android studio automatically generate project files specific particular workspace environment. generally, these shouldn't checked version control because cause conflicts other developers you're experiencing.

i use following .gitignore file when starting new project. should keep transient android studio workspace files out of git repo.

# built application files *.apk *.ap_  # files dalvik vm *.dex  # java class files *.class  # generated files bin/ gen/ build/  # gradle cache files .gradle/  # local configuration file (sdk path, etc) local.properties /local.properties /.idea/workspace.xml .idea/ *.iml  # log files *.log  # os-specific folder attributes .ds_store thumbs.db 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -