Cache folder configuration for Android-Studio and cache for android-studio

Source: Internet
Author: User

Cache folder configuration for Android-Studio and cache for android-studio

    • Collation
    • Start
      • AndroidStudio
      • Gradle
      • M2

========================================================== ======================
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!

========================================================== ======================

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.