Reputation: 252
I have limited disk space and want to start developing android, but it seems that android studio eats a lot of memory! some says it took more than 20 GB.
So the question is: what are the minimum necessary components (android platforms, emulator, ...) to start and how can we use android studio with the most possible minimality?
Also, how does adding each of these components (that are respectively unnecessary) affects the used space?
Upvotes: 12
Views: 12781
Reputation: 13181
Update
Note the link for updated requirements. Those listed here are minimal recommendations by Google. More RAM and Disk space have always been better in my experience.
Requirements as of Nov, 2015
Just check out the Android Studio system requirements. You will probably need 4GB RAM and 2GB of disk space to run the Android Studio platform minimally (this is Google's official development platform for Android devices). You can start by downloading the IDE at the developer website and also pickup some samples. So the samples will also take up disk space. Depending on how many versions of Android you intend to support you could be using a lot of disk space for the SDKs and emulators, so you should consider carefully which versions make sense to support.
You might also want to take a spin through the default training site.
Upvotes: 1
Reputation: 252
2G RAM for AS, 1G RAM for Gradle,
~8G HDD for SDK (incl. NDK),
700M HDD for AS,
~2GB HDD for AS config and caches,
~500M HDD for one project + whatever emulators take
As Eugen Pechanec said as a comment.
I think this is the maximum.
Upvotes: 6
Reputation:
If you have a i5 and at least 4gigs of Ram, you should be really fine. In case of disk space, it depends, I use only the newer SDKs and it takes only about 700mb disk space. If you really need all SDK versions, sure it will be more, but I do not think you will need 20 GB even if you add some more versions.
Upvotes: 0
Reputation: 1050
Install just one android version, then you should be fine...
If you have a native android device, you don't need an emulator you can use the android device to debug. You can debug over USB or WLAN. Or you could use android x86 on an other machine(Virtual Machine).
Upvotes: 0
Reputation: 529
Hello friend its true that android studio take lots of space while running, and emulator takes lots of memory so better way to run the program is on Android device, Go to the settings --> Developer options --> USB debugging (ON) if your phone didn't show developer options then Go to --> About device --> and click 7 to 8 times on Build number, it enable your Developer option
Upvotes: 0