Android folder contains 2 sdk folders
Why do I have two sdk folders in the Android directory:
Contents of both sdk folders looks same
But actually they are different in size , files and folders.
Should I remove any of these folders? Are both sdk folders being used by Android?
android-studio
add a comment |
Why do I have two sdk folders in the Android directory:
Contents of both sdk folders looks same
But actually they are different in size , files and folders.
Should I remove any of these folders? Are both sdk folders being used by Android?
android-studio
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
add a comment |
Why do I have two sdk folders in the Android directory:
Contents of both sdk folders looks same
But actually they are different in size , files and folders.
Should I remove any of these folders? Are both sdk folders being used by Android?
android-studio
Why do I have two sdk folders in the Android directory:
Contents of both sdk folders looks same
But actually they are different in size , files and folders.
Should I remove any of these folders? Are both sdk folders being used by Android?
android-studio
android-studio
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
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:
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:
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:
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:
add a comment |
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
:
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.)
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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:
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:
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:
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:
add a comment |
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:
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:
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:
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:
add a comment |
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:
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:
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:
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:
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:
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:
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:
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:
edited May 23 '17 at 11:33
Community♦
1
1
answered Feb 9 '16 at 18:03
JonnoJonno
17.8k44664
17.8k44664
add a comment |
add a comment |
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
:
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.)
add a comment |
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
:
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.)
add a comment |
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
:
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.)
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
:
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.)
edited Sep 2 '18 at 22:49
answered Sep 2 '18 at 20:59
DSlomer64DSlomer64
1014
1014
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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