Every time you recreate a project, you need to download the corresponding .gradle file, but there is a corresponding .gradle file in your disk. As you create more projects, the more gradle files you download, the more memory you will occupy. will be bigger.
solution:
First, set the relative path of the Gradle user home. (When setting for the first time, it will be a bit slow to load the Gradle file. If there is an error or re-download, just follow the operation in Figure 2) as shown in the figure below:
When you recreate a project, it will also download the .gradle file, you just need to pause it, then set the corresponding gradle file, and apply.