Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Moving android-sdk and sdk folders to another drive

My windows is on a 128GB ssd hard drive and its running out of space. the folder C:\Users\User\AppData\Local\Android has 2 folders android-sdk and sdk folders that use about 30GB of space.

Is it possible to move these folders to an external hard drive?

If it is possible what changes should I make in the android studio?

like image 327
Ashkan Mobayen Khiabani Avatar asked Jun 09 '16 12:06

Ashkan Mobayen Khiabani


People also ask

Can I move Android SDK to another drive?

Yep - Go into settings in android studio and you can select where you want the sdk to reside. would it just move these folders too? Nah, you'd have to copy-paste them yourself.

Can I change Android SDK location?

To set the Android SDK location, enter the full path of the Android SDK directory into the Android SDK Location box. You can navigate to the Android SDK location in File Explorer, copy the path from the address bar, and paste this path into the Android SDK Location box.

Where should Android SDK be located?

by default, the "Android Studio IDE" will be installed in " C:\Program Files\Android\Android Studio ", and the "Android SDK" in " c:\Users\username\AppData\Local\Android\Sdk ".

Where does Android Studio Store the sdk?

Each time the sdk package is downloaded, the entire folder is enumerated under your Android install directory ( \sdk , \sdk1 ...).


1 Answers

I do the same thing. In Android Studio go to Settings, select Appearance and Behaviour then System Settings then Android SDK

You can choose the SDK location at the top.

You'll need to copy/paste the files to that location to save yourself the downloading time.

like image 55
SQLiteNoob Avatar answered Oct 06 '22 14:10

SQLiteNoob