Flutter project stopped building after upgrading gradle

5 days ago 8
ARTICLE AD BOX

After I upgraded gradle plugin to version 9.3.1,my flutter project stopped building successfully with the following error:

FAILURE: Build failed with an exception. * Where: Settings file 'C:\WorkingFolder\Projects\Desytec\Development\Desytec-Security-Platform\Mobile\DCoreSecurity\dcore_security\android\settings.gradle.kts' line: 19 * What went wrong: Plugin [id: 'com.android.application', version: '9.3.1', apply: false] was not found in any of the following sources: - Gradle Core Plugins (plugin is not in 'org.gradle' namespace) - Included Builds (No included builds contain this plugin) - Plugin Repositories (could not resolve plugin artifact 'com.android.application:com.android.application.gradle.plugin:9.3.1') 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 from a Build Scan (powered by Develocity). > Get more help at https://help.gradle.org.

How can I solve it?

Read Entire Article