Android folder contains 2 sdk folders












2
















Why do I have two sdk folders in the Android directory:




enter image description here




Contents of both sdk folders looks same




enter image description here




But actually they are different in size , files and folders.




enter image description here



Should I remove any of these folders? Are both sdk folders being used by Android?










share|improve this question

























  • How did you install/update the Android SDK? Why is it installed to this location?

    – Daniel B
    Feb 8 '16 at 19:38











  • Downloaded Android Studio and then simply installed with default settings...

    – Akash Kumar
    Feb 8 '16 at 19:52











  • I suggest to uninstall Android Studio, remove both folders (if left-over), then reinstall. If you again have 2 folders, then this is the way this SDK installs.

    – harrymc
    Feb 9 '16 at 10:05













  • Did you not update the SDK? Looks like this would cause this to happen... The creation date is quite different on the two folders also.

    – LJD200
    Feb 9 '16 at 16:40
















2
















Why do I have two sdk folders in the Android directory:




enter image description here




Contents of both sdk folders looks same




enter image description here




But actually they are different in size , files and folders.




enter image description here



Should I remove any of these folders? Are both sdk folders being used by Android?










share|improve this question

























  • How did you install/update the Android SDK? Why is it installed to this location?

    – Daniel B
    Feb 8 '16 at 19:38











  • Downloaded Android Studio and then simply installed with default settings...

    – Akash Kumar
    Feb 8 '16 at 19:52











  • I suggest to uninstall Android Studio, remove both folders (if left-over), then reinstall. If you again have 2 folders, then this is the way this SDK installs.

    – harrymc
    Feb 9 '16 at 10:05













  • Did you not update the SDK? Looks like this would cause this to happen... The creation date is quite different on the two folders also.

    – LJD200
    Feb 9 '16 at 16:40














2












2








2


1







Why do I have two sdk folders in the Android directory:




enter image description here




Contents of both sdk folders looks same




enter image description here




But actually they are different in size , files and folders.




enter image description here



Should I remove any of these folders? Are both sdk folders being used by Android?










share|improve this question

















Why do I have two sdk folders in the Android directory:




enter image description here




Contents of both sdk folders looks same




enter image description here




But actually they are different in size , files and folders.




enter image description here



Should I remove any of these folders? Are both sdk folders being used by Android?







android-studio






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 1 at 4:24









fixer1234

19k144982




19k144982










asked Feb 6 '16 at 2:59









Akash KumarAkash Kumar

951925




951925













  • How did you install/update the Android SDK? Why is it installed to this location?

    – Daniel B
    Feb 8 '16 at 19:38











  • Downloaded Android Studio and then simply installed with default settings...

    – Akash Kumar
    Feb 8 '16 at 19:52











  • I suggest to uninstall Android Studio, remove both folders (if left-over), then reinstall. If you again have 2 folders, then this is the way this SDK installs.

    – harrymc
    Feb 9 '16 at 10:05













  • Did you not update the SDK? Looks like this would cause this to happen... The creation date is quite different on the two folders also.

    – LJD200
    Feb 9 '16 at 16:40



















  • How did you install/update the Android SDK? Why is it installed to this location?

    – Daniel B
    Feb 8 '16 at 19:38











  • Downloaded Android Studio and then simply installed with default settings...

    – Akash Kumar
    Feb 8 '16 at 19:52











  • I suggest to uninstall Android Studio, remove both folders (if left-over), then reinstall. If you again have 2 folders, then this is the way this SDK installs.

    – harrymc
    Feb 9 '16 at 10:05













  • Did you not update the SDK? Looks like this would cause this to happen... The creation date is quite different on the two folders also.

    – LJD200
    Feb 9 '16 at 16:40

















How did you install/update the Android SDK? Why is it installed to this location?

– Daniel B
Feb 8 '16 at 19:38





How did you install/update the Android SDK? Why is it installed to this location?

– Daniel B
Feb 8 '16 at 19:38













Downloaded Android Studio and then simply installed with default settings...

– Akash Kumar
Feb 8 '16 at 19:52





Downloaded Android Studio and then simply installed with default settings...

– Akash Kumar
Feb 8 '16 at 19:52













I suggest to uninstall Android Studio, remove both folders (if left-over), then reinstall. If you again have 2 folders, then this is the way this SDK installs.

– harrymc
Feb 9 '16 at 10:05







I suggest to uninstall Android Studio, remove both folders (if left-over), then reinstall. If you again have 2 folders, then this is the way this SDK installs.

– harrymc
Feb 9 '16 at 10:05















Did you not update the SDK? Looks like this would cause this to happen... The creation date is quite different on the two folders also.

– LJD200
Feb 9 '16 at 16:40





Did you not update the SDK? Looks like this would cause this to happen... The creation date is quite different on the two folders also.

– LJD200
Feb 9 '16 at 16:40










2 Answers
2






active

oldest

votes


















4





+50









A question on StackOverflow has a somewhat useful comment on this:




As of today (2015-10-01), the standard download in @RandollREVERS
solution comes with the sdk (but you can also use that link to find
the sdk standalone package). I needed to create the path variable for
it (suprised Android didn't do this for me) after downloading the
studio and then another path variable for the platform-tools directory
where the adb command is located. Each time the sdk package is
downloaded, the entire folder is enumerated under your Android install
directory (sdk, sdk1...).




Additionally, this link at code.google.com shows someone having an issue installing the SDK, and having 6 different folders for this:



enter image description here



It simply appears that each time the SDK is installed, it will create a new, incremented folder from the last.



To test this, I've just installed it:



enter image description here



enter image description here



Only one SDK folder is present after applying all the updates. As such, I'd assume only one of your folders is being used and is required, and the other is just a previous installation. To find out what is actually being used, go to Configure, then SDK Manager. In here it'll tell you the path actually being used:



enter image description here



I'd then try renaming the one not mentioned here to something different and see if there are any adverse effects whilst using it for a few days. If not, I'd assume it's safe to delete, or update any other paths you may have to the new one.



Edit: I have just tried reinstalling Android Studio without uninstalling the old version, and the defaults it gives me include a 1 as a suffix:



enter image description here






share|improve this answer

































    0














    Uninstalling AS, removing folders, and reinstalling AS is a lot of time and stress and what about customizations? Is it guaranteed they'll all be saved? A power user will have a whole lot of different types relating to different parts of the IDE, including IntellIJ IDEA/JetBrains.



    Rather than un- and re-install, I always try to figure out a way to get around this iffy proccess.



    The original sdk and sdk ? (? = 1,2,3,..,n) contain different numbers of identically-named folders depending on options selected in each installation. The last one (sdk n) will have later folder dates than the others.



    EDIT



    The following is NOT NECESSARILY a good way around un- and re-installing AS (original post 9/2/18 about 5pm EDT):



    End Edit





    "I'd move all the sdk i (i < n) to another folder (each folder move takes little time if moved to same drive).



    "Then rename sdk n to plain old sdk and there should be no problems."



    (Original post ends here.)





    There's nothing wrong with that advice if you do all development on actual devices and have no use for old emulators.



    And the only problem would be that you'd lose all the previous versions/upgrades of the build tools for emulators that you may have installed, thereby causing yourself to have to re-install all of the older ones if you felt the need to.



    Here's the difference between my "original" sdk folder and my "newer" sdk1:



    enter image description here



    I've decided to put sdk back on the Desktop and just let sdk1 accumulate new emulator tools as I decide to download them. (I'm not going to rename it. No need to.)






    share|improve this answer


























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      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%2fsuperuser.com%2fquestions%2f1036320%2fandroid-folder-contains-2-sdk-folders%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









      4





      +50









      A question on StackOverflow has a somewhat useful comment on this:




      As of today (2015-10-01), the standard download in @RandollREVERS
      solution comes with the sdk (but you can also use that link to find
      the sdk standalone package). I needed to create the path variable for
      it (suprised Android didn't do this for me) after downloading the
      studio and then another path variable for the platform-tools directory
      where the adb command is located. Each time the sdk package is
      downloaded, the entire folder is enumerated under your Android install
      directory (sdk, sdk1...).




      Additionally, this link at code.google.com shows someone having an issue installing the SDK, and having 6 different folders for this:



      enter image description here



      It simply appears that each time the SDK is installed, it will create a new, incremented folder from the last.



      To test this, I've just installed it:



      enter image description here



      enter image description here



      Only one SDK folder is present after applying all the updates. As such, I'd assume only one of your folders is being used and is required, and the other is just a previous installation. To find out what is actually being used, go to Configure, then SDK Manager. In here it'll tell you the path actually being used:



      enter image description here



      I'd then try renaming the one not mentioned here to something different and see if there are any adverse effects whilst using it for a few days. If not, I'd assume it's safe to delete, or update any other paths you may have to the new one.



      Edit: I have just tried reinstalling Android Studio without uninstalling the old version, and the defaults it gives me include a 1 as a suffix:



      enter image description here






      share|improve this answer






























        4





        +50









        A question on StackOverflow has a somewhat useful comment on this:




        As of today (2015-10-01), the standard download in @RandollREVERS
        solution comes with the sdk (but you can also use that link to find
        the sdk standalone package). I needed to create the path variable for
        it (suprised Android didn't do this for me) after downloading the
        studio and then another path variable for the platform-tools directory
        where the adb command is located. Each time the sdk package is
        downloaded, the entire folder is enumerated under your Android install
        directory (sdk, sdk1...).




        Additionally, this link at code.google.com shows someone having an issue installing the SDK, and having 6 different folders for this:



        enter image description here



        It simply appears that each time the SDK is installed, it will create a new, incremented folder from the last.



        To test this, I've just installed it:



        enter image description here



        enter image description here



        Only one SDK folder is present after applying all the updates. As such, I'd assume only one of your folders is being used and is required, and the other is just a previous installation. To find out what is actually being used, go to Configure, then SDK Manager. In here it'll tell you the path actually being used:



        enter image description here



        I'd then try renaming the one not mentioned here to something different and see if there are any adverse effects whilst using it for a few days. If not, I'd assume it's safe to delete, or update any other paths you may have to the new one.



        Edit: I have just tried reinstalling Android Studio without uninstalling the old version, and the defaults it gives me include a 1 as a suffix:



        enter image description here






        share|improve this answer




























          4





          +50







          4





          +50



          4




          +50





          A question on StackOverflow has a somewhat useful comment on this:




          As of today (2015-10-01), the standard download in @RandollREVERS
          solution comes with the sdk (but you can also use that link to find
          the sdk standalone package). I needed to create the path variable for
          it (suprised Android didn't do this for me) after downloading the
          studio and then another path variable for the platform-tools directory
          where the adb command is located. Each time the sdk package is
          downloaded, the entire folder is enumerated under your Android install
          directory (sdk, sdk1...).




          Additionally, this link at code.google.com shows someone having an issue installing the SDK, and having 6 different folders for this:



          enter image description here



          It simply appears that each time the SDK is installed, it will create a new, incremented folder from the last.



          To test this, I've just installed it:



          enter image description here



          enter image description here



          Only one SDK folder is present after applying all the updates. As such, I'd assume only one of your folders is being used and is required, and the other is just a previous installation. To find out what is actually being used, go to Configure, then SDK Manager. In here it'll tell you the path actually being used:



          enter image description here



          I'd then try renaming the one not mentioned here to something different and see if there are any adverse effects whilst using it for a few days. If not, I'd assume it's safe to delete, or update any other paths you may have to the new one.



          Edit: I have just tried reinstalling Android Studio without uninstalling the old version, and the defaults it gives me include a 1 as a suffix:



          enter image description here






          share|improve this answer















          A question on StackOverflow has a somewhat useful comment on this:




          As of today (2015-10-01), the standard download in @RandollREVERS
          solution comes with the sdk (but you can also use that link to find
          the sdk standalone package). I needed to create the path variable for
          it (suprised Android didn't do this for me) after downloading the
          studio and then another path variable for the platform-tools directory
          where the adb command is located. Each time the sdk package is
          downloaded, the entire folder is enumerated under your Android install
          directory (sdk, sdk1...).




          Additionally, this link at code.google.com shows someone having an issue installing the SDK, and having 6 different folders for this:



          enter image description here



          It simply appears that each time the SDK is installed, it will create a new, incremented folder from the last.



          To test this, I've just installed it:



          enter image description here



          enter image description here



          Only one SDK folder is present after applying all the updates. As such, I'd assume only one of your folders is being used and is required, and the other is just a previous installation. To find out what is actually being used, go to Configure, then SDK Manager. In here it'll tell you the path actually being used:



          enter image description here



          I'd then try renaming the one not mentioned here to something different and see if there are any adverse effects whilst using it for a few days. If not, I'd assume it's safe to delete, or update any other paths you may have to the new one.



          Edit: I have just tried reinstalling Android Studio without uninstalling the old version, and the defaults it gives me include a 1 as a suffix:



          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 23 '17 at 11:33









          Community

          1




          1










          answered Feb 9 '16 at 18:03









          JonnoJonno

          17.8k44664




          17.8k44664

























              0














              Uninstalling AS, removing folders, and reinstalling AS is a lot of time and stress and what about customizations? Is it guaranteed they'll all be saved? A power user will have a whole lot of different types relating to different parts of the IDE, including IntellIJ IDEA/JetBrains.



              Rather than un- and re-install, I always try to figure out a way to get around this iffy proccess.



              The original sdk and sdk ? (? = 1,2,3,..,n) contain different numbers of identically-named folders depending on options selected in each installation. The last one (sdk n) will have later folder dates than the others.



              EDIT



              The following is NOT NECESSARILY a good way around un- and re-installing AS (original post 9/2/18 about 5pm EDT):



              End Edit





              "I'd move all the sdk i (i < n) to another folder (each folder move takes little time if moved to same drive).



              "Then rename sdk n to plain old sdk and there should be no problems."



              (Original post ends here.)





              There's nothing wrong with that advice if you do all development on actual devices and have no use for old emulators.



              And the only problem would be that you'd lose all the previous versions/upgrades of the build tools for emulators that you may have installed, thereby causing yourself to have to re-install all of the older ones if you felt the need to.



              Here's the difference between my "original" sdk folder and my "newer" sdk1:



              enter image description here



              I've decided to put sdk back on the Desktop and just let sdk1 accumulate new emulator tools as I decide to download them. (I'm not going to rename it. No need to.)






              share|improve this answer






























                0














                Uninstalling AS, removing folders, and reinstalling AS is a lot of time and stress and what about customizations? Is it guaranteed they'll all be saved? A power user will have a whole lot of different types relating to different parts of the IDE, including IntellIJ IDEA/JetBrains.



                Rather than un- and re-install, I always try to figure out a way to get around this iffy proccess.



                The original sdk and sdk ? (? = 1,2,3,..,n) contain different numbers of identically-named folders depending on options selected in each installation. The last one (sdk n) will have later folder dates than the others.



                EDIT



                The following is NOT NECESSARILY a good way around un- and re-installing AS (original post 9/2/18 about 5pm EDT):



                End Edit





                "I'd move all the sdk i (i < n) to another folder (each folder move takes little time if moved to same drive).



                "Then rename sdk n to plain old sdk and there should be no problems."



                (Original post ends here.)





                There's nothing wrong with that advice if you do all development on actual devices and have no use for old emulators.



                And the only problem would be that you'd lose all the previous versions/upgrades of the build tools for emulators that you may have installed, thereby causing yourself to have to re-install all of the older ones if you felt the need to.



                Here's the difference between my "original" sdk folder and my "newer" sdk1:



                enter image description here



                I've decided to put sdk back on the Desktop and just let sdk1 accumulate new emulator tools as I decide to download them. (I'm not going to rename it. No need to.)






                share|improve this answer




























                  0












                  0








                  0







                  Uninstalling AS, removing folders, and reinstalling AS is a lot of time and stress and what about customizations? Is it guaranteed they'll all be saved? A power user will have a whole lot of different types relating to different parts of the IDE, including IntellIJ IDEA/JetBrains.



                  Rather than un- and re-install, I always try to figure out a way to get around this iffy proccess.



                  The original sdk and sdk ? (? = 1,2,3,..,n) contain different numbers of identically-named folders depending on options selected in each installation. The last one (sdk n) will have later folder dates than the others.



                  EDIT



                  The following is NOT NECESSARILY a good way around un- and re-installing AS (original post 9/2/18 about 5pm EDT):



                  End Edit





                  "I'd move all the sdk i (i < n) to another folder (each folder move takes little time if moved to same drive).



                  "Then rename sdk n to plain old sdk and there should be no problems."



                  (Original post ends here.)





                  There's nothing wrong with that advice if you do all development on actual devices and have no use for old emulators.



                  And the only problem would be that you'd lose all the previous versions/upgrades of the build tools for emulators that you may have installed, thereby causing yourself to have to re-install all of the older ones if you felt the need to.



                  Here's the difference between my "original" sdk folder and my "newer" sdk1:



                  enter image description here



                  I've decided to put sdk back on the Desktop and just let sdk1 accumulate new emulator tools as I decide to download them. (I'm not going to rename it. No need to.)






                  share|improve this answer















                  Uninstalling AS, removing folders, and reinstalling AS is a lot of time and stress and what about customizations? Is it guaranteed they'll all be saved? A power user will have a whole lot of different types relating to different parts of the IDE, including IntellIJ IDEA/JetBrains.



                  Rather than un- and re-install, I always try to figure out a way to get around this iffy proccess.



                  The original sdk and sdk ? (? = 1,2,3,..,n) contain different numbers of identically-named folders depending on options selected in each installation. The last one (sdk n) will have later folder dates than the others.



                  EDIT



                  The following is NOT NECESSARILY a good way around un- and re-installing AS (original post 9/2/18 about 5pm EDT):



                  End Edit





                  "I'd move all the sdk i (i < n) to another folder (each folder move takes little time if moved to same drive).



                  "Then rename sdk n to plain old sdk and there should be no problems."



                  (Original post ends here.)





                  There's nothing wrong with that advice if you do all development on actual devices and have no use for old emulators.



                  And the only problem would be that you'd lose all the previous versions/upgrades of the build tools for emulators that you may have installed, thereby causing yourself to have to re-install all of the older ones if you felt the need to.



                  Here's the difference between my "original" sdk folder and my "newer" sdk1:



                  enter image description here



                  I've decided to put sdk back on the Desktop and just let sdk1 accumulate new emulator tools as I decide to download them. (I'm not going to rename it. No need to.)







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Sep 2 '18 at 22:49

























                  answered Sep 2 '18 at 20:59









                  DSlomer64DSlomer64

                  1014




                  1014






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • 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%2fsuperuser.com%2fquestions%2f1036320%2fandroid-folder-contains-2-sdk-folders%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

                      Сан-Квентин

                      Алькесар

                      Josef Freinademetz