Files present in .gitignore always get added to git after building Android Project in Android Studio 3.3.2Git ignore file for Xcode projectsGit command to show which specific files are ignored by .gitignoreHow to make Git “forget” about a file that was tracked but is now in .gitignore?.gitignore for Visual Studio Projects and SolutionsGit: How to find a deleted file in the project commit history?git recover deleted file where no commit was made after the deleteWhat should be in my .gitignore for an Android Studio project?Android Studio Git .gitignore vs Project > Settings > Version Control > Ignored Fileswhy file in gitignore will be modified after android studio compile?How to add proguard mapping file on git (exclude in gitignore, Android Studio)

Why exactly was Star Wars: Clone Wars (2003) excluded from Disney Canon?

Would letting a multiclass character rebuild their character to be single-classed be game-breaking?

Filtering fine silt/mud from water (not necessarily bacteria etc.)

Is Arc Length always irrational between two rational points?

What is this welding tool I found in my attic?

How to plot multiple functions from a list

What is temperature on a quantum level?

In Stargate SG1 S1E1, why does Kowalski explicitly say "simulated bombing run"?

Back to the nineties!

does ability to impeach an expert witness on science or scholarship go too far?

Why is dry soil hydrophobic? Bad gardener paradox

Do native speakers use ZVE or CPU?

In which ways do anagamis still experience ignorance?

Why did the Japanese attack the Aleutians at the same time as Midway?

Why would an Inquisitive rogue choose to use Insightful Fighting as opposed to using their Cunning Action to Hide?

Was the Ford Model T black because of the speed black paint dries?

How to check the quality of an audio sample?

What's the point of this scene involving Flash Thompson at the airport?

Why the term 'unified' in "unified mass unit"?

Was adding milk to tea started to reduce employee tea break time?

Are there J.S. Bach pieces that do not start with the tonic chord?

Can a continent naturally split into two distant parts within a week?

How to repair a laptop's screen hinges?

How does one stock fund's charge of 1% more in operating expenses than another fund lower expected returns by 10%?



Files present in .gitignore always get added to git after building Android Project in Android Studio 3.3.2


Git ignore file for Xcode projectsGit command to show which specific files are ignored by .gitignoreHow to make Git “forget” about a file that was tracked but is now in .gitignore?.gitignore for Visual Studio Projects and SolutionsGit: How to find a deleted file in the project commit history?git recover deleted file where no commit was made after the deleteWhat should be in my .gitignore for an Android Studio project?Android Studio Git .gitignore vs Project > Settings > Version Control > Ignored Fileswhy file in gitignore will be modified after android studio compile?How to add proguard mapping file on git (exclude in gitignore, Android Studio)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I have updated android studio from 3.0.0 to 3.3.2. Everytime I build project files like .idea/caches/build_file_checksums.ser and .idea/caches/gradle_models.ser get added to git. This files are already present in .gitignore.This is my Project level .gitignore file



*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
/.idea/tasks.xml
/.idea/misc.xml
/.idea/modules.xml
/.idea/vcs.xml
.DS_Store
/build
/captures
/.idea/caches/build_file_checksums.ser
/.idea/caches/gradle_models.ser
.externalNativeBuild


What changes need to be done in project to get rid of this ?










share|improve this question




























    1















    I have updated android studio from 3.0.0 to 3.3.2. Everytime I build project files like .idea/caches/build_file_checksums.ser and .idea/caches/gradle_models.ser get added to git. This files are already present in .gitignore.This is my Project level .gitignore file



    *.iml
    .gradle
    /local.properties
    /.idea/workspace.xml
    /.idea/libraries
    /.idea/tasks.xml
    /.idea/misc.xml
    /.idea/modules.xml
    /.idea/vcs.xml
    .DS_Store
    /build
    /captures
    /.idea/caches/build_file_checksums.ser
    /.idea/caches/gradle_models.ser
    .externalNativeBuild


    What changes need to be done in project to get rid of this ?










    share|improve this question
























      1












      1








      1


      1






      I have updated android studio from 3.0.0 to 3.3.2. Everytime I build project files like .idea/caches/build_file_checksums.ser and .idea/caches/gradle_models.ser get added to git. This files are already present in .gitignore.This is my Project level .gitignore file



      *.iml
      .gradle
      /local.properties
      /.idea/workspace.xml
      /.idea/libraries
      /.idea/tasks.xml
      /.idea/misc.xml
      /.idea/modules.xml
      /.idea/vcs.xml
      .DS_Store
      /build
      /captures
      /.idea/caches/build_file_checksums.ser
      /.idea/caches/gradle_models.ser
      .externalNativeBuild


      What changes need to be done in project to get rid of this ?










      share|improve this question














      I have updated android studio from 3.0.0 to 3.3.2. Everytime I build project files like .idea/caches/build_file_checksums.ser and .idea/caches/gradle_models.ser get added to git. This files are already present in .gitignore.This is my Project level .gitignore file



      *.iml
      .gradle
      /local.properties
      /.idea/workspace.xml
      /.idea/libraries
      /.idea/tasks.xml
      /.idea/misc.xml
      /.idea/modules.xml
      /.idea/vcs.xml
      .DS_Store
      /build
      /captures
      /.idea/caches/build_file_checksums.ser
      /.idea/caches/gradle_models.ser
      .externalNativeBuild


      What changes need to be done in project to get rid of this ?







      git gitignore android-studio-3.2






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 26 at 5:54









      SatyamSatyam

      3593 silver badges16 bronze badges




      3593 silver badges16 bronze badges






















          2 Answers
          2






          active

          oldest

          votes


















          1














          Please change the .gitignore file as follows. You are telling it to find the files in the root location.With below configuration, it will look in the project directory. This should resolve the issue.



          *.iml
          .gradle
          local.properties
          .idea/workspace.xml
          .idea/libraries
          .idea/tasks.xml
          .idea/misc.xml
          .idea/modules.xml
          .idea/vcs.xml
          .DS_Store
          build
          captures
          .idea/caches/build_file_checksums.ser
          .idea/caches/gradle_models.ser
          .externalNativeBuild


          You will have to delete the files from the git cache and re-commit.






          share|improve this answer






























            0














            Check first if those files are not already tracked with:



            git rm --cached .idea/caches/build_file_checksums.ser
            git rm --cached .idea/caches/gradle_models.ser


            If you can remove those files, then (commit and) they will be ignored



            Check they are ignored with:



            git check-ignore -v -- .idea/caches/build_file_checksums.ser





            share|improve this answer

























              Your Answer






              StackExchange.ifUsing("editor", function ()
              StackExchange.using("externalEditor", function ()
              StackExchange.using("snippets", function ()
              StackExchange.snippets.init();
              );
              );
              , "code-snippets");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "1"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55350637%2ffiles-present-in-gitignore-always-get-added-to-git-after-building-android-proje%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              Please change the .gitignore file as follows. You are telling it to find the files in the root location.With below configuration, it will look in the project directory. This should resolve the issue.



              *.iml
              .gradle
              local.properties
              .idea/workspace.xml
              .idea/libraries
              .idea/tasks.xml
              .idea/misc.xml
              .idea/modules.xml
              .idea/vcs.xml
              .DS_Store
              build
              captures
              .idea/caches/build_file_checksums.ser
              .idea/caches/gradle_models.ser
              .externalNativeBuild


              You will have to delete the files from the git cache and re-commit.






              share|improve this answer



























                1














                Please change the .gitignore file as follows. You are telling it to find the files in the root location.With below configuration, it will look in the project directory. This should resolve the issue.



                *.iml
                .gradle
                local.properties
                .idea/workspace.xml
                .idea/libraries
                .idea/tasks.xml
                .idea/misc.xml
                .idea/modules.xml
                .idea/vcs.xml
                .DS_Store
                build
                captures
                .idea/caches/build_file_checksums.ser
                .idea/caches/gradle_models.ser
                .externalNativeBuild


                You will have to delete the files from the git cache and re-commit.






                share|improve this answer

























                  1












                  1








                  1







                  Please change the .gitignore file as follows. You are telling it to find the files in the root location.With below configuration, it will look in the project directory. This should resolve the issue.



                  *.iml
                  .gradle
                  local.properties
                  .idea/workspace.xml
                  .idea/libraries
                  .idea/tasks.xml
                  .idea/misc.xml
                  .idea/modules.xml
                  .idea/vcs.xml
                  .DS_Store
                  build
                  captures
                  .idea/caches/build_file_checksums.ser
                  .idea/caches/gradle_models.ser
                  .externalNativeBuild


                  You will have to delete the files from the git cache and re-commit.






                  share|improve this answer













                  Please change the .gitignore file as follows. You are telling it to find the files in the root location.With below configuration, it will look in the project directory. This should resolve the issue.



                  *.iml
                  .gradle
                  local.properties
                  .idea/workspace.xml
                  .idea/libraries
                  .idea/tasks.xml
                  .idea/misc.xml
                  .idea/modules.xml
                  .idea/vcs.xml
                  .DS_Store
                  build
                  captures
                  .idea/caches/build_file_checksums.ser
                  .idea/caches/gradle_models.ser
                  .externalNativeBuild


                  You will have to delete the files from the git cache and re-commit.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 26 at 6:00









                  Mo ZiauddinMo Ziauddin

                  337 bronze badges




                  337 bronze badges























                      0














                      Check first if those files are not already tracked with:



                      git rm --cached .idea/caches/build_file_checksums.ser
                      git rm --cached .idea/caches/gradle_models.ser


                      If you can remove those files, then (commit and) they will be ignored



                      Check they are ignored with:



                      git check-ignore -v -- .idea/caches/build_file_checksums.ser





                      share|improve this answer



























                        0














                        Check first if those files are not already tracked with:



                        git rm --cached .idea/caches/build_file_checksums.ser
                        git rm --cached .idea/caches/gradle_models.ser


                        If you can remove those files, then (commit and) they will be ignored



                        Check they are ignored with:



                        git check-ignore -v -- .idea/caches/build_file_checksums.ser





                        share|improve this answer

























                          0












                          0








                          0







                          Check first if those files are not already tracked with:



                          git rm --cached .idea/caches/build_file_checksums.ser
                          git rm --cached .idea/caches/gradle_models.ser


                          If you can remove those files, then (commit and) they will be ignored



                          Check they are ignored with:



                          git check-ignore -v -- .idea/caches/build_file_checksums.ser





                          share|improve this answer













                          Check first if those files are not already tracked with:



                          git rm --cached .idea/caches/build_file_checksums.ser
                          git rm --cached .idea/caches/gradle_models.ser


                          If you can remove those files, then (commit and) they will be ignored



                          Check they are ignored with:



                          git check-ignore -v -- .idea/caches/build_file_checksums.ser






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Mar 26 at 6:01









                          VonCVonC

                          877k318 gold badges2834 silver badges3398 bronze badges




                          877k318 gold badges2834 silver badges3398 bronze badges



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55350637%2ffiles-present-in-gitignore-always-get-added-to-git-after-building-android-proje%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                              Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                              Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript