Using Android Studio with minimal disk space

I have limited disk space and you want to start developing Android, but it looks like Android studio is hitting a lot of memory! some say it took more than 20 GB.

So, the question is, what are the minimum necessary components (Android platforms, emulator, ...), and how can we use Android studio with the maximum possible minimum?

Also, how does adding each of these components (which are respectively not needed) affect the space used?

+6
source share
5 answers

2G RAM for AS, 1G RAM for Gradle,

~ 8G HDD for SDK (including NDK),

700M HDD for AS,

~ 2GB HDD for AS configuration and caches,

~ 500M HDD for one project + any emulators accept

As Eugene Pechanets said as a comment.
I think this is the maximum.

+3
source

Just check out the system requirements for Android Studio . You will probably need 4 GB of RAM and 2 GB of disk space for the Android Studio platform to work effectively (this is the official Google platform for Android devices). You can start by downloading the IDE on the website as well as select samples . Thus, the samples also occupy disk space. Depending on how many versions of Android you are going to support, you can use a large amount of disk space for SDKs and emulators, so you should carefully consider which versions it makes sense to support.

android device coverage

You may also need to scroll through the default training site .

+1
source

Hi friend, it’s true that android studio takes up a lot of space while working, and the emulator takes up a lot of memory, so the best way to run the program is on an Android device. Go to settings β†’ Developer options β†’ USB debugging (ON) if the developer’s settings are not displayed on your phone, then go to β†’ About device β†’ and press 7-8 times on the build number, enable the developer option

0
source

Install only one version for Android, then you should be fine ...

If you have your own Android device, you don’t need an emulator that you can use to debug your Android device. You can debug USB or WLAN. Or you can use android x86 on another machine (virtual machine).

0
source

If you have i5 and at least 4 gigs of Ram, you should be fine. In the case of disk space, it depends, I use only the newer SDKs and takes about 700 MB of disk space. If you really need all versions of the SDK, I’m sure it will be more, but I don’t think you will need 20 GB, even if you add a few more versions.

0
source

All Articles