Skip to content

Instantly share code, notes, and snippets.

@vtanathip
Last active May 26, 2021 09:12
Show Gist options
  • Star 51 You must be signed in to star a gist
  • Fork 24 You must be signed in to fork a gist
  • Save vtanathip/9414323 to your computer and use it in GitHub Desktop.
Save vtanathip/9414323 to your computer and use it in GitHub Desktop.
Git Ignore files list that should use in Android Studio Projects
# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
# generated files
bin/
gen/
# Local configuration file (sdk path, etc)
local.properties
# Eclipse project files
.classpath
.project
# Android Studio
.idea/
.gradle
/*/local.properties
/*/out
/*/*/build
/*/*/production
*.iml
*.iws
*.ipr
*~
*.swp
@shunxingchen
Copy link

thanks!

@jorgwel
Copy link

jorgwel commented Sep 2, 2015

Thanks!

@toybeans
Copy link

Thanks!

@rnice01
Copy link

rnice01 commented Oct 10, 2015

Thanks for this!

@SamIAmHarris
Copy link

Why does the default android studio only exclude some .idea files while you exclude the entire folder?

Thanks for the help.

@sayom88
Copy link

sayom88 commented Jan 9, 2016

Hello, if I want to push the apk file into the GitHUb repo, then how can I do it?

Copy link

ghost commented Jan 14, 2016

thanks

@izacarias
Copy link

Thanks so much!

@nwaokoron
Copy link

Thanks

@Ronzer
Copy link

Ronzer commented Feb 25, 2016

thanks

@marceloleiva
Copy link

Thanks

@MithunArunan
Copy link

what about build.gradle file?

@VolgoAK
Copy link

VolgoAK commented Jun 5, 2016

Thanks a lot

@catvinhquang
Copy link

Thank you so much 👍

@luishng
Copy link

luishng commented Aug 27, 2016

Thanks!

@arthreis
Copy link

thanks

@archaoncz
Copy link

thanks!

@Pa1em0n
Copy link

Pa1em0n commented Jul 27, 2017

thanks!

@mkamals
Copy link

mkamals commented Jun 28, 2018

@sayom88 Remove the below lines if you want to push the apk file also.

built application files

*.apk
*.ap_

@gslahane-zz
Copy link

👍

@tedhagos
Copy link

thanks

@joshi-ameya
Copy link

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment