FAILURE: Build failed with an exception.
* Where:
Settings file 'C:\Users\prabh\OneDrive\Desktop\FCP-CSC-18-1080-main\FudMentor\android\settings.gradle' line: 21
* What went wrong:
Plugin [id: 'com.android.application', version: '4.1.0', apply: false] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (None of the included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'com.android.application:com.android.application.gradle.plugin:4.1.0')
Searched in the following repositories:
Google
MavenRepo
Gradle Central Plugin Repository
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 6s
Tried fixing this error using chat gpt but its not getting fixed.