Cache folder configuration for Android-Studio and cache for android-studio
========================================================== ======================
Author: qiujuer
Blog: blog.csdn.net/qiujuer
Website: www.qiujuer.net
Open-source Library: github.com/qiujuer/Genius-Android
Reprinted please indicate the source: http://blog.csdn.net/qiujuer/article/details/44160127
-- Learning Open Source for open source; a beginner's mentality is shared with you!
========================================================== ======================
Collation
This is an article that can be viewed or not read. It cannot be seen that it is for people who are not nervous about the C drive capacity. I belong to someone who has no Money for a computer, the C drive is hard to replace with a solid state drive, but it is only a little poor and cannot be increased.
No matter how hard the C disk is to be cleaned up, I finally found the occupied space in one place:
Although it only occupies 6 GB, these 6 GB are very precious to me. After testing, I also found the problem (after deletion, entering Android-Studio again is the same as re-installing it, requiring network buffering ).
I wonder if you have found these three files?
C:\Users\YourName\ **
The three folders are:
-AndroidStudio configuration and plug-in cache folder
-The gradle folder generally does not grow too much. The local gradle global configuration file is stored.
-M2 is the address of the local repository, that is, all the remote libraries you use will be cached here and then added to your project for use; the more plug-ins you use, the larger the folder will be.
Start
The following describes how to configure it separately, hoping to help you.
. AndroidStudio
The configuration of this folder is somewhat different and can only be configured from the default installation file. First, go to the Bin folder in your AndroidStudio installation directory.
*** \Android\AndroidStudio\bin **
Go to the file: idea. properties, and modify it as follows:
Here is my modification method. Of course, you can set it to where you need it. If you do not want AndroidStudio to update and download after modification, you can directly cut the folder from the original place to the place you set.
. Gradle
This folder directly goes to AndroidStudio> File> Settings
You can also directly cut from the original drive C.
. M2
This configuration is relatively simple, and is also changed in the settings:
Copy the same as above and cut it to make it healthier.
========================================================== ======================
Author: qiujuer
Blog: blog.csdn.net/qiujuer
Website: www.qiujuer.net
Open-source Library: github.com/qiujuer/Genius-Android
Reprinted please indicate the source: http://blog.csdn.net/qiujuer/article/details/44160127
-- Learning Open Source for open source; a beginner's mentality is shared with you!
========================================================== ======================