Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Macbook Android Studio, android sdk took a lot of spaces!!

views
     
TSPlayPlayHa
post Aug 17 2017, 11:51 PM, updated 7y ago

Getting Started
**
Junior Member
56 posts

Joined: Nov 2008
I have a Macbook Air 128GB..

after install Android Studio with those SDK..
and also XCode IOS stuff..

my storage left 10GB... ==

any ideas?

can i delete all those Android Image to save space?
or can i move those SDK to external storage?
or keep only latest SDK.....

also IOS stuff took a lot of space... can i save to external storage?

any ideas? rclxub.gif rclxub.gif
island
post Aug 18 2017, 05:39 AM

Regular
******
Senior Member
1,731 posts

Joined: Jan 2007


No idea 💡 on mac, but 5S maybe helped. Cleaning the temp files. If you not planning for multi target platforms, just keep the latest sdk

This post has been edited by island: Aug 18 2017, 05:39 AM
malleus
post Aug 18 2017, 11:36 AM

Look at all my stars!!
*******
Senior Member
2,096 posts

Joined: Dec 2011
QUOTE(PlayPlayHa @ Aug 17 2017, 11:51 PM)
I have a Macbook Air 128GB..

after install Android Studio with those SDK..
and also XCode IOS stuff..

my storage left 10GB... ==

any ideas?

can i delete all those Android Image to save space?
or can i move those SDK to external storage?
or keep only latest SDK.....

also IOS stuff took a lot of space... can i save to external storage?

any ideas? rclxub.gif  rclxub.gif
*
You'll definitely be hard pressed with 128GB, especially if you want to have both Xcode and Android Studio. but the android SDK does take up a lot of space if you're to install everything. Just install the latest version of the SDK that you'll be using, and install other versions only if you need to. You do have an option of moving the android SDK to external storage, but make sure to set the ANDROID_HOME accordingly to the new location

This post has been edited by malleus: Aug 18 2017, 11:37 AM
alien3d
post Aug 18 2017, 02:52 PM

Look at all my stars!!
*******
Senior Member
3,740 posts

Joined: Mar 2009
QUOTE(PlayPlayHa @ Aug 17 2017, 11:51 PM)
I have a Macbook Air 128GB..

after install Android Studio with those SDK..
and also XCode IOS stuff..

my storage left 10GB... ==

any ideas?

can i delete all those Android Image to save space?
or can i move those SDK to external storage?
or keep only latest SDK.....

also IOS stuff took a lot of space... can i save to external storage?

any ideas? rclxub.gif  rclxub.gif
*
Yes Yes
1. copy and moved to external hard disk. androidsdk folder and androidndk

2.. xcode allready so freakin large.. .. downloading updating each time and expanding ..ouch.. need to remove old one then download.

TSPlayPlayHa
post Aug 18 2017, 03:01 PM

Getting Started
**
Junior Member
56 posts

Joined: Nov 2008
QUOTE(malleus @ Aug 18 2017, 11:36 AM)
You'll definitely be hard pressed with 128GB, especially if you want to have both Xcode and Android Studio. but the android SDK does take up a lot of space if you're to install everything. Just install the latest version of the SDK that you'll be using, and install other versions only if you need to. You do have an option of moving the android SDK to external storage, but make sure to set the ANDROID_HOME accordingly to the new location
*
I see, so i just need to keep the latest SDK~
TSPlayPlayHa
post Aug 18 2017, 03:02 PM

Getting Started
**
Junior Member
56 posts

Joined: Nov 2008
QUOTE(alien3d @ Aug 18 2017, 02:52 PM)
Yes Yes
1. copy and moved to external hard disk. androidsdk folder and androidndk

2.. xcode allready so freakin large..  .. downloading updating each time and expanding ..ouch.. need to remove old one then download.
*
means reinstall xcode?
alien3d
post Aug 18 2017, 03:06 PM

Look at all my stars!!
*******
Senior Member
3,740 posts

Joined: Mar 2009
QUOTE(PlayPlayHa @ Aug 18 2017, 03:02 PM)
means reinstall xcode?
*
i remove and reinstall back..You updating ? i don't see updating anymore in apple store. just download.
malleus
post Aug 19 2017, 09:19 PM

Look at all my stars!!
*******
Senior Member
2,096 posts

Joined: Dec 2011
QUOTE(PlayPlayHa @ Aug 18 2017, 03:02 PM)
means reinstall xcode?
*
don't need to. you can uninstall the components that you don't need.

folders you need to keep an eye on are:
~/Developer/Xcode/iOS\ DeviceSupport
keep an eye on the images of older versions that you no longer need, and delete them accordingly. if you happened to plug in a device with an older iOS version again, it'll just copy the device image again.

~/Developer/Xcode/DerivedData
good to wipe this folder clean once in a while.

~/Developer/Xcode/DerivedData /Users/adrian/Library/Developer/CoreSimulator/Devices
if you're really running out of disk space, you can consider nuking all your existing simulator instances by deleting all files here. When you launch a simulator again, it'll just recreate accordingly.
TSPlayPlayHa
post Aug 21 2017, 10:19 AM

Getting Started
**
Junior Member
56 posts

Joined: Nov 2008
wow. thanks for the advices, guys.

save extra 20gb+ from storage~

 

Change to:
| Lo-Fi Version
0.0120sec    0.72    5 queries    GZIP Disabled
Time is now: 28th March 2024 - 06:54 PM