AndroidStudio for increased capacity

Asked 2 years ago, Updated 2 years ago, 90 views

Introduced AndroidStudio and migrated from eclipse.

Android Studio's capacity is not much, but somehow my PC's capacity has decreased significantly, so I checked and found out that it is called a cache file.

User/username/.gradle,
User/username/.AndroidStudio 1.4,
User/username/.AndroidStudio 1.5

The file used a few GB, especially .gradle, which had more than 20 GB of capacity.

Basically, I think it is made because it is necessary, but I would like to delete it, but could you please let me know if there are any harmful effects of erasing it?

Also, if there are other files that are causing capacity growth, I would appreciate it if you could tell me how to reduce them.

android-studio

2022-09-30 21:11

1 Answers

I just checked and found that if Android Studio has been upgraded to 1.5.x, you can delete the 1.4 hidden folder (I actually deleted it, but it looks fine).

As for .gradle, even in my environment, it is about 20GB in size, and .gradle/caches takes up almost all the capacity.As it is cache, I don't think deleting it will lead to a fatal problem.

Note: How to clear gradle cache?

However, the disadvantage of deleting the cache is that the next time you build a project, you will have to download and incorporate an external dependent library from the network, so you shouldn't delete it too often.


2022-09-30 21:11

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.