Android Studio project for. Gitignore

Source: Internet
Author: User

When you create a new Android Studio project, two. gitignore files are created by default

    • . gitignore

      *.iml.gradle/local.properties/.idea/workspace.xml/.idea/libraries.DS_Store/build/captures
    • App/.gitignore

      /build

But that's not enough. The top floor. The Gitignore is changed to be as clean as below. From StackOverflow, back up here:

# apply from stackoverflow by sam## http://stackoverflow.com/questions/16736856/what-should-be-in-my-gitignore-for-an-android-studio-project#*.iml.gradle/local.properties/.idea/workspace.xml/.idea/libraries.DS_Store/build/captures.DS_Store#built application files*.apk*.ap_# files for the dex VM*.dex# Java class files*.class# generated filesbin/gen/# Local configuration file (sdk path, etc)local.properties# Windows thumbnail dbThumbs.db# OSX files.DS_Store# Eclipse project files.classpath.project# Android Studio*.iml.idea#.idea/workspace.xml - remove # and delete .idea if it better suit your needs..gradlebuild/#NDKobj/*.swp*~

Android Studio project for. Gitignore

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.