Android Development git version number control, exactly which files do not submit

Source: Internet
Author: User

Small Partners for Android development. Presumably when you create a project, you have to worry about which files of project you need to commit git version number control. Deep fear that some files are submitted for updates that affect other members of the team. In particular, some of the temporary compilation of the build file to submit, was the team leader scold do not.

Here are the files and folders that do not need to be controlled by the GIT version number, and the detailed code can view the. gitignore file for project:

IntelliJ idea (IDE-related settings)
. idea
*.iml
*.ipr
*.iws

Gradle (Gradle related)
. gradle
Gradlew.bat
Build

Local configuration file (SDK path, etc) (native profile: path of the SDK, etc.)
Local.properties
Reports
/captures
Jacoco.exec

Mac System files (file under Mac)
. Ds_store

Build application files (app files built)
*.apk
*.ap_

log files (log file)
*.log

Android Studio Navigation Editor temp files (as navigation edit temporary file)
. navigation/

files for the Dex VM (Dex package file)
*.dex

Java class files (Java compiled class byte-code file)
*.class

generated files (project self-generated file)
bin/
gen/
Out
Lib

Eclipse project files (some files using Eclipseproject)
. classpath
. Project
. settings/
Eclipsebin
. metadata/

Proguard folder generated by Eclipse (Proguard confusing folders generated using Eclipseproject)
proguard/

NDK (NDK related)
obj/
Jnilibs

Take a look at the folder structure submitted to GitHub:

Another clone down to normal execution, OK ~ ~

That's roughly what this is. There is nothing to add to the hope that small partners, can add a message. Also welcome to submit PR.


Source code Address: Https://github.com/JerryloveEmily/GitIgnoreProject

Android Development git version number control, exactly which files do not submit

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.