Every time Android creates a project, it will re-download the .gradle file

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:

1
1

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.

2

Supongo que te gusta

Origin blog.csdn.net/qq_62079241/article/details/129479339
Recomendado
Clasificación