Android studio on Mac El Capitan - issues in setting up the SDK
Having issues while trying to set-up Android Studio (latest release, 2.3) on a Mac (El Capitan 10.11.3). Studio is installed, but when I launch it a window for configuring the SDK appears, and after a few passages I get this error:
"An error occurred while trying to compute required packages"
Anyone got this?
macos osx-el-capitan android-studio
add a comment |
Having issues while trying to set-up Android Studio (latest release, 2.3) on a Mac (El Capitan 10.11.3). Studio is installed, but when I launch it a window for configuring the SDK appears, and after a few passages I get this error:
"An error occurred while trying to compute required packages"
Anyone got this?
macos osx-el-capitan android-studio
add a comment |
Having issues while trying to set-up Android Studio (latest release, 2.3) on a Mac (El Capitan 10.11.3). Studio is installed, but when I launch it a window for configuring the SDK appears, and after a few passages I get this error:
"An error occurred while trying to compute required packages"
Anyone got this?
macos osx-el-capitan android-studio
Having issues while trying to set-up Android Studio (latest release, 2.3) on a Mac (El Capitan 10.11.3). Studio is installed, but when I launch it a window for configuring the SDK appears, and after a few passages I get this error:
"An error occurred while trying to compute required packages"
Anyone got this?
macos osx-el-capitan android-studio
macos osx-el-capitan android-studio
edited Feb 1 at 3:44
fixer1234
19k144982
19k144982
asked Mar 11 '17 at 14:42
EnricoEnrico
163
163
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
After an update Android studio was not working. So I have uninstalled it and deleted all the local folders related to Android studio. I have tried to install it again but I had faced the same issue.
After some research, I have found out that Android studio was looking for sdkmanager
and it is a part of android tools. I have downloaded sdkmanager
and extracted it in /Users/<loggeduser>/Library/Android/sdk
folder as tools. This solved the problem and wizard downloaded 1.5GB data.
What update version are you talking about (be specific)? What source you have used to download sdkmanager (provide a link or reference)?
– alljamin
Mar 12 '17 at 1:48
add a comment |
I was able to figure out the answer to my problem. So, to recap...
It seems that Android Studio does not include the command line tools anymore. This is contrary to what stated on the web page for the download of AS. In any case, as suggested in the other answer to this question, first I downloaded the .zip package containing the command line tools (bottom of AS download page) and extracted it in .../android/sdk (the ... is any path you like for the Android components; in my case I am on a Mac and selected /usr/local/). This results in a subfolder called tools.
If you run the wizard, it doesn't work - oh well, to be honest I didn't try with the custom option, which allows selecting the directory for the sdk; maybe this would allow the wizard to see the sdk manager, which is in tools/bin. Anyway, I entered AS and selected, on the bottom, the "configure" button. From the drop-down menu, "SDK manager". It prompts for an SDK location. Clicked "edit". Selected as location .../android/sdk. A warning says that no SDK is installed. I tried to go ahead anyway, and successfully installed the sdk (requires some time).
Now, upon restart of AS, the setup wizard won't pop up anymore. But there's a further error: at the bottom of the initial window, a dialog appears saying there are updates for the tools. If you try to install them, you encounter an error (many others noticed this on SuperUser - see here and here). The error is due to a dependence of the tools from the emulator, which has not been installed. Others suggest to use the sdkmanager from the command line to install the emulator, but this didn't work for me since I don't have any Java Development Kit installed yet, and the sdkmanager from command line requires it. So, I did this: clicked again the "configure" button, selected "Preferences", and then from the tree which appears on the left selected "Appearance & Behavior -> System Settings -> Updates". Here switched, for the update check, from "Stable Channel" to "Canary Channel" (seems, based on suggestions on StackExchange, that the emulator is only there). Clicked "Check Now". Refused to install updates for the tools. Then selected, on the tree on the left, "Android SDK", and there, the tab "SDK Tools". At this point the Emulator appeared, I selected it, applied settings, and this installed the Emulator and the Tool update from the Canary Channel. Clearly this means that they are less stable, but this is it. Went back to "Updates" and selected again the "Stable Channel".
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%2f1187647%2fandroid-studio-on-mac-el-capitan-issues-in-setting-up-the-sdk%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
After an update Android studio was not working. So I have uninstalled it and deleted all the local folders related to Android studio. I have tried to install it again but I had faced the same issue.
After some research, I have found out that Android studio was looking for sdkmanager
and it is a part of android tools. I have downloaded sdkmanager
and extracted it in /Users/<loggeduser>/Library/Android/sdk
folder as tools. This solved the problem and wizard downloaded 1.5GB data.
What update version are you talking about (be specific)? What source you have used to download sdkmanager (provide a link or reference)?
– alljamin
Mar 12 '17 at 1:48
add a comment |
After an update Android studio was not working. So I have uninstalled it and deleted all the local folders related to Android studio. I have tried to install it again but I had faced the same issue.
After some research, I have found out that Android studio was looking for sdkmanager
and it is a part of android tools. I have downloaded sdkmanager
and extracted it in /Users/<loggeduser>/Library/Android/sdk
folder as tools. This solved the problem and wizard downloaded 1.5GB data.
What update version are you talking about (be specific)? What source you have used to download sdkmanager (provide a link or reference)?
– alljamin
Mar 12 '17 at 1:48
add a comment |
After an update Android studio was not working. So I have uninstalled it and deleted all the local folders related to Android studio. I have tried to install it again but I had faced the same issue.
After some research, I have found out that Android studio was looking for sdkmanager
and it is a part of android tools. I have downloaded sdkmanager
and extracted it in /Users/<loggeduser>/Library/Android/sdk
folder as tools. This solved the problem and wizard downloaded 1.5GB data.
After an update Android studio was not working. So I have uninstalled it and deleted all the local folders related to Android studio. I have tried to install it again but I had faced the same issue.
After some research, I have found out that Android studio was looking for sdkmanager
and it is a part of android tools. I have downloaded sdkmanager
and extracted it in /Users/<loggeduser>/Library/Android/sdk
folder as tools. This solved the problem and wizard downloaded 1.5GB data.
edited Mar 12 '17 at 2:19
alljamin
8721820
8721820
answered Mar 11 '17 at 19:09
Jignesh Soni JiggiJignesh Soni Jiggi
1
1
What update version are you talking about (be specific)? What source you have used to download sdkmanager (provide a link or reference)?
– alljamin
Mar 12 '17 at 1:48
add a comment |
What update version are you talking about (be specific)? What source you have used to download sdkmanager (provide a link or reference)?
– alljamin
Mar 12 '17 at 1:48
What update version are you talking about (be specific)? What source you have used to download sdkmanager (provide a link or reference)?
– alljamin
Mar 12 '17 at 1:48
What update version are you talking about (be specific)? What source you have used to download sdkmanager (provide a link or reference)?
– alljamin
Mar 12 '17 at 1:48
add a comment |
I was able to figure out the answer to my problem. So, to recap...
It seems that Android Studio does not include the command line tools anymore. This is contrary to what stated on the web page for the download of AS. In any case, as suggested in the other answer to this question, first I downloaded the .zip package containing the command line tools (bottom of AS download page) and extracted it in .../android/sdk (the ... is any path you like for the Android components; in my case I am on a Mac and selected /usr/local/). This results in a subfolder called tools.
If you run the wizard, it doesn't work - oh well, to be honest I didn't try with the custom option, which allows selecting the directory for the sdk; maybe this would allow the wizard to see the sdk manager, which is in tools/bin. Anyway, I entered AS and selected, on the bottom, the "configure" button. From the drop-down menu, "SDK manager". It prompts for an SDK location. Clicked "edit". Selected as location .../android/sdk. A warning says that no SDK is installed. I tried to go ahead anyway, and successfully installed the sdk (requires some time).
Now, upon restart of AS, the setup wizard won't pop up anymore. But there's a further error: at the bottom of the initial window, a dialog appears saying there are updates for the tools. If you try to install them, you encounter an error (many others noticed this on SuperUser - see here and here). The error is due to a dependence of the tools from the emulator, which has not been installed. Others suggest to use the sdkmanager from the command line to install the emulator, but this didn't work for me since I don't have any Java Development Kit installed yet, and the sdkmanager from command line requires it. So, I did this: clicked again the "configure" button, selected "Preferences", and then from the tree which appears on the left selected "Appearance & Behavior -> System Settings -> Updates". Here switched, for the update check, from "Stable Channel" to "Canary Channel" (seems, based on suggestions on StackExchange, that the emulator is only there). Clicked "Check Now". Refused to install updates for the tools. Then selected, on the tree on the left, "Android SDK", and there, the tab "SDK Tools". At this point the Emulator appeared, I selected it, applied settings, and this installed the Emulator and the Tool update from the Canary Channel. Clearly this means that they are less stable, but this is it. Went back to "Updates" and selected again the "Stable Channel".
add a comment |
I was able to figure out the answer to my problem. So, to recap...
It seems that Android Studio does not include the command line tools anymore. This is contrary to what stated on the web page for the download of AS. In any case, as suggested in the other answer to this question, first I downloaded the .zip package containing the command line tools (bottom of AS download page) and extracted it in .../android/sdk (the ... is any path you like for the Android components; in my case I am on a Mac and selected /usr/local/). This results in a subfolder called tools.
If you run the wizard, it doesn't work - oh well, to be honest I didn't try with the custom option, which allows selecting the directory for the sdk; maybe this would allow the wizard to see the sdk manager, which is in tools/bin. Anyway, I entered AS and selected, on the bottom, the "configure" button. From the drop-down menu, "SDK manager". It prompts for an SDK location. Clicked "edit". Selected as location .../android/sdk. A warning says that no SDK is installed. I tried to go ahead anyway, and successfully installed the sdk (requires some time).
Now, upon restart of AS, the setup wizard won't pop up anymore. But there's a further error: at the bottom of the initial window, a dialog appears saying there are updates for the tools. If you try to install them, you encounter an error (many others noticed this on SuperUser - see here and here). The error is due to a dependence of the tools from the emulator, which has not been installed. Others suggest to use the sdkmanager from the command line to install the emulator, but this didn't work for me since I don't have any Java Development Kit installed yet, and the sdkmanager from command line requires it. So, I did this: clicked again the "configure" button, selected "Preferences", and then from the tree which appears on the left selected "Appearance & Behavior -> System Settings -> Updates". Here switched, for the update check, from "Stable Channel" to "Canary Channel" (seems, based on suggestions on StackExchange, that the emulator is only there). Clicked "Check Now". Refused to install updates for the tools. Then selected, on the tree on the left, "Android SDK", and there, the tab "SDK Tools". At this point the Emulator appeared, I selected it, applied settings, and this installed the Emulator and the Tool update from the Canary Channel. Clearly this means that they are less stable, but this is it. Went back to "Updates" and selected again the "Stable Channel".
add a comment |
I was able to figure out the answer to my problem. So, to recap...
It seems that Android Studio does not include the command line tools anymore. This is contrary to what stated on the web page for the download of AS. In any case, as suggested in the other answer to this question, first I downloaded the .zip package containing the command line tools (bottom of AS download page) and extracted it in .../android/sdk (the ... is any path you like for the Android components; in my case I am on a Mac and selected /usr/local/). This results in a subfolder called tools.
If you run the wizard, it doesn't work - oh well, to be honest I didn't try with the custom option, which allows selecting the directory for the sdk; maybe this would allow the wizard to see the sdk manager, which is in tools/bin. Anyway, I entered AS and selected, on the bottom, the "configure" button. From the drop-down menu, "SDK manager". It prompts for an SDK location. Clicked "edit". Selected as location .../android/sdk. A warning says that no SDK is installed. I tried to go ahead anyway, and successfully installed the sdk (requires some time).
Now, upon restart of AS, the setup wizard won't pop up anymore. But there's a further error: at the bottom of the initial window, a dialog appears saying there are updates for the tools. If you try to install them, you encounter an error (many others noticed this on SuperUser - see here and here). The error is due to a dependence of the tools from the emulator, which has not been installed. Others suggest to use the sdkmanager from the command line to install the emulator, but this didn't work for me since I don't have any Java Development Kit installed yet, and the sdkmanager from command line requires it. So, I did this: clicked again the "configure" button, selected "Preferences", and then from the tree which appears on the left selected "Appearance & Behavior -> System Settings -> Updates". Here switched, for the update check, from "Stable Channel" to "Canary Channel" (seems, based on suggestions on StackExchange, that the emulator is only there). Clicked "Check Now". Refused to install updates for the tools. Then selected, on the tree on the left, "Android SDK", and there, the tab "SDK Tools". At this point the Emulator appeared, I selected it, applied settings, and this installed the Emulator and the Tool update from the Canary Channel. Clearly this means that they are less stable, but this is it. Went back to "Updates" and selected again the "Stable Channel".
I was able to figure out the answer to my problem. So, to recap...
It seems that Android Studio does not include the command line tools anymore. This is contrary to what stated on the web page for the download of AS. In any case, as suggested in the other answer to this question, first I downloaded the .zip package containing the command line tools (bottom of AS download page) and extracted it in .../android/sdk (the ... is any path you like for the Android components; in my case I am on a Mac and selected /usr/local/). This results in a subfolder called tools.
If you run the wizard, it doesn't work - oh well, to be honest I didn't try with the custom option, which allows selecting the directory for the sdk; maybe this would allow the wizard to see the sdk manager, which is in tools/bin. Anyway, I entered AS and selected, on the bottom, the "configure" button. From the drop-down menu, "SDK manager". It prompts for an SDK location. Clicked "edit". Selected as location .../android/sdk. A warning says that no SDK is installed. I tried to go ahead anyway, and successfully installed the sdk (requires some time).
Now, upon restart of AS, the setup wizard won't pop up anymore. But there's a further error: at the bottom of the initial window, a dialog appears saying there are updates for the tools. If you try to install them, you encounter an error (many others noticed this on SuperUser - see here and here). The error is due to a dependence of the tools from the emulator, which has not been installed. Others suggest to use the sdkmanager from the command line to install the emulator, but this didn't work for me since I don't have any Java Development Kit installed yet, and the sdkmanager from command line requires it. So, I did this: clicked again the "configure" button, selected "Preferences", and then from the tree which appears on the left selected "Appearance & Behavior -> System Settings -> Updates". Here switched, for the update check, from "Stable Channel" to "Canary Channel" (seems, based on suggestions on StackExchange, that the emulator is only there). Clicked "Check Now". Refused to install updates for the tools. Then selected, on the tree on the left, "Android SDK", and there, the tab "SDK Tools". At this point the Emulator appeared, I selected it, applied settings, and this installed the Emulator and the Tool update from the Canary Channel. Clearly this means that they are less stable, but this is it. Went back to "Updates" and selected again the "Stable Channel".
edited Sep 14 '17 at 19:08
Ramhound
21k156287
21k156287
answered Mar 11 '17 at 21:30
EnricoEnrico
163
163
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%2f1187647%2fandroid-studio-on-mac-el-capitan-issues-in-setting-up-the-sdk%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