Android studio项目配置的.gitignore文件

记录一下使用的.gitignore文件内容,方便日后使用

IntelliJ IDEA(IDE相关的设置) 
.idea 
*.iml 
*.ipr 
*.iws

# Built application files(构建的app文件)
*.apk
*.ap_

# Files for the ART/Dalvik VM(dex包文件) 
*.dex

# Java class files(java编译的class字节码文件) 
*.class

# Generated files(工程自动生成的文件) 
bin/
gen/
out/
lib/

# Eclipse project files(使用eclipse工程的一些文件) 
.classpath 
.project 
.settings/ 
eclipsebin 
.metadata/

# Gradle files(gradle相关的) 
.gradle/
gradlew.bat 
build/

# Local configuration file (sdk path, etc)(本地的配置文件:sdk的路径等)
local.properties
reports 
/captures 
jacoco.exec

Mac system files(mac系统下的文件) 
.DS_Store

# Proguard folder generated by Eclipse(使用eclipse工程生成的Proguard混淆文件夹) 
proguard/

# Log Files(log文件) 
*.log

# Android Studio Navigation editor temp files(AS导航编辑临时文件) 
.navigation/

# Android Studio captures folder
captures/

# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild

# Google Services (e.g. APIs or Firebase)
google-services.json

# Freeline
freeline.py
freeline/
freeline_project_description.json

# 自定义忽略文件
HudAndroid/app/src/main/assets/buildInfo.txt

参考自:https://blog.csdn.net/abren32/article/details/50291535

发布了62 篇原创文章 · 获赞 106 · 访问量 21万+

猜你喜欢

转载自blog.csdn.net/lang523493505/article/details/79941913