.hgignore file for Android Studio

By  | December 3, 2013 | Filed under: Software development

There are several Stack Overflow questions about this but none seems definitive. Github suggests https://github.com/github/gitignore/blob/master/Android.gitignore for general Android development, but that doesn’t take account of IDE files.

The developers of Android Studio give advice on IDE files to ignore at https://intellij-support.jetbrains.com/entries/23393067

I have ended up with:
#Android files - see https://github.com/github/gitignore/blob/master/Android.gitignore
# built application files
glob:*.apk
glob:*.ap_

# files for the dex VM
glob:*.dex

# Java class files
glob:*.class

# generated files
bin/
gen/

# Ignore gradle files
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/

#Android Studio - see https://intellij-support.jetbrains.com/entries/23393067
.idea/workspace.xml
.idea/tasks.xml
.iws

#Android Studio put this in the sample .gitignore file
.DS_Store

5 Responses to .hgignore file for Android Studio

  1. BestKarma April 2, 2019 at 6:40 am

    I see you don’t monetize digitalassassin.net, don’t waste your traffic, you
    can earn extra cash every month. There is one good way that brings
    decent money, you can google it: money making by bucksflooder

  2. neurofeedback June 16, 2019 at 8:05 pm

    EEG Clinical and Neuroscience, 42, 195-201.

  3. marketing para contabilidade June 17, 2019 at 6:23 am

    Esses são exemplos de meios de marketing digital.

  4. empresa de aluguel de tendas June 20, 2019 at 3:29 pm

    Nossas Tendas Transparentes para casamentos.

  5. BestVelda July 22, 2019 at 5:35 pm

    I see you don’t monetize digitalassassin.net, don’t waste your traffic, you can earn extra cash every month with new
    monetization method. This is the best adsense alternative for any type of website (they approve all websites), for more info simply
    search in gooogle: murgrabia’s tools

Leave a Reply

Your email address will not be published. Required fields are marked *