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

                              SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                              은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현