Plugin [id: ‘com.android.application‘, version: ‘7.4.2‘, apply: false] was not found in any of the

1. When introducing a new gradle project, an error such as Plugin [id: 'com.android.application', version: '7.4.2', apply: false] was not found in any of the was reported.
2. The possible reason is that the home directory of the gradle configuration of your idea is wrong, as follows:
insert image description here
The above gradle user home configuration must use the .gradle path under the directory where the project is located.

Guess you like

Origin blog.csdn.net/u013326684/article/details/130477742