Skip to content

Instantly share code, notes, and snippets.

@vtanathip
Last active August 15, 2025 01:21
Show Gist options
  • Select an option

  • Save vtanathip/9414323 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

thanks!

@jorgwel

jorgwel commented Sep 2, 2015

Copy link
Copy Markdown

Thanks!

@toybeans

Copy link
Copy Markdown

Thanks!

@rnice01

rnice01 commented Oct 10, 2015

Copy link
Copy Markdown

Thanks for this!

@SamIAmHarris

Copy link
Copy Markdown

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

Thanks for the help.

@sayom88

sayom88 commented Jan 9, 2016

Copy link
Copy Markdown

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

ghost commented Jan 14, 2016

Copy link
Copy Markdown

thanks

@izacarias

Copy link
Copy Markdown

Thanks so much!

@nwaokoron

Copy link
Copy Markdown

Thanks

@Ronzer

Ronzer commented Feb 25, 2016

Copy link
Copy Markdown

thanks

@marceloleiva

Copy link
Copy Markdown

Thanks

@MithunArunan

Copy link
Copy Markdown

what about build.gradle file?

@VolgoAK

VolgoAK commented Jun 5, 2016

Copy link
Copy Markdown

Thanks a lot

@catvinhquang

Copy link
Copy Markdown

Thank you so much 👍

@luishng

luishng commented Aug 27, 2016

Copy link
Copy Markdown

Thanks!

@arthreis

Copy link
Copy Markdown

thanks

@archaoncz

Copy link
Copy Markdown

thanks!

@Pa1em0n

Pa1em0n commented Jul 27, 2017

Copy link
Copy Markdown

thanks!

@mkamals

mkamals commented Jun 28, 2018

Copy link
Copy Markdown

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

built application files

*.apk
*.ap_

@gslahane-zz

Copy link
Copy Markdown

👍

@tedhagos

Copy link
Copy Markdown

thanks

@joshi-ameya

Copy link
Copy Markdown

Thanks !

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