When I open Android SDK Manager from Android Studio, the SDK Path displayed is:
\\android-studio\\sdk
I want to change th
When I ran into trouble with this on Android Studio 3.1.4 the solution was to go into the app
dropdown on my project, then Edit Configurations > Defaults > JAR Application
where there is a JRE
box on the initial Configuration
tab. Setting that to my JRE path solved the problem for me.
From the quick start window, choose Configure, then choose Project Defaults, and then choose Project Structure. Then on the left under Platform Settings choose SDKs. Then to the right of that choose the current android platform, mine was Android 4.2.2 Platform, and delete it using the red minus button at the top, then add a new android platform using the green plus button at the top and point it to your current SDK folder and that is it.
Try this way i try in Android Studio 2.0
Step 1: File->Setting
Step 2: Seting->SDK option
Step 3: Click Edit option in Sdk Location
Step 4: Show "SDK Components Setup"
Step 5: Click on Three "..." in "SDK Components Wizad"
Step 6: Select your new SDK Path
In Android studio 1.2.2 you can simply changes project based SDK, Steps:
Here is some ways, as far as I know now.
just following steps of the official docs, as bellow link shows
https://developer.android.com/studio/intro/studio-config#jdk
following steps of the screen shortcuts, as bellow shows
following steps of the screen shortcut, as bellow shows
Changing the sdk location in Project Settings will solve the problem partially. When Android Studio is used to download a new SDK, it will place the new SDK in the internal SDK folder (inside Android Studio).
Existing android developers will already have a large sdks folder (hereinafter referred to as external SDK folder) containing all the SDKs downloaded before Android Studio came around.
For Mac/Linux users though there is a good way out. Soft links!
Exit Android Studio and perform the following steps:
cp -r <Android Studio>/sdk/ <external SDK folder>/
cd <Android Studio>/
mv <Android Studio>/sdk/ mv <Android Studio>/sdk.orig
ln -s <external SDK folder>/ sdk
And we're good to go. Launch SDK Manager after starting Android Studio, watch as it discovers all your existing SDKs like a charm :).