当我从Android Studio打开Android SDK管理器时,SDK路径显示为:

\android-studio\sdk

我想改变这条路径。我该怎么做?


当前回答

goto菜单文件->项目结构或按Ctrl + Alt + Shift + S

例如http://how-to-android-studio.blogspot.com/2014/11/set-sdk-location.html

其他回答

使用快捷键ctrl+shift+alt+S使您的生活更轻松 或 通过去>文件项目结构:

它会打开这个窗口,在这里你可以选择你的SDK

在Android studio 1.2.2中,您可以简单地更改基于项目的SDK, 步骤:

右键单击“模块”,选择“打开模块设置”或按F12 从左边选择SDK位置 现在,您可以从这个页面更改SDK位置和JDK位置

下面是如何在android studio中更改android sdk路径:

Open your required android project in Android studio Click on the main project folder and press F4 Now click on "SDKs" under Platform Settings (Left hand side of the dialog box) You should now see a plus sign on the top, click it and choose "Android SDK" Now you would be asked to choose the required SDK folder Select the required build target(if necessary) and click "ok" Now you should see the new entry in the list of SDKs Click "Modules" under Project Settings Select your project folder and in the Dropdown for "Module SDK", select the new SDK entry and click "apply" Now click "OK" and your done.

注意:如果更改没有生效,重新启动android studio应该可以解决这个问题。

在windows中按ctrl+shift+alt+s,这将打开项目属性,在那里你可以找到第一个名为SDK位置的选项单击它,在那里你可以改变SDK路径,JDK路径和NDK路径也

简单的答案肯定有效……

步骤1:右键单击项目>>选择打开模块设置——> 第二步:从下图右侧选择SDK位置

步骤3:现在从您的计算机浏览SDK位置,如下所示…

第四步:单击“确定”。