Hi, How can i solve this? FAILURE: Build failed w...
# community-support
w
Hi, How can i solve this? FAILURE: Build failed with an exception. * Where: Build file 'C:\Users\Wadonderah\startups\dishi_hub\android\build.gradle' line: 17 * What went wrong: An exception occurred applying plugin request [id: 'dev.flutter.flutter-gradle-plugin']
Failed to apply plugin 'dev.flutter.flutter-gradle-plugin'.
> settings.gradle/settings.gradle.kts does not exist: C:\Users\Wadonderah\startups\dishi_hub\settings.gradle.kts * 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 10s Error: Gradle task assembleDebug failed with exit code 1 /* groovylint-disable VariableTypeRequired */ /* groovylint-disable-next-line CompileStatic */ buildscript { repositories { google() mavenCentral() } dependencies { classpath 'com.google.gmsgoogle services4.3.15' classpath 'com.android.tools.buildG7.3.1' } } plugins { id 'com.android.application' id 'kotlin-android' id 'dev.flutter.flutter-gradle-plugin' } /* groovylint-disable-next-line VariableTypeRequired */ def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader) } }
v
Why are you asking here? Flutter is complaining to you. But either way, isn't the error message quite clear on why it complains?
w
FAILURE: Build failed with an exception. * Where: Build file 'C:\Users\Wadonderah\startups\dishi_hub\android\build.gradle' line: 17 * What went wrong: An exception occurred applying plugin request [id: 'dev.flutter.flutter-gradle-plugin']
Failed to apply plugin 'dev.flutter.flutter-gradle-plugin'.
That's where the error is
c
… followed by
> settings.gradle/settings.gradle.kts does not exist: C:\Users\Wadonderah\startups\dishi_hub\settings.gradle.kts
- have you addressed that?
w
yes and that's why am asking for held am unable to solve the issue.
c
As noted earlier it isn’t really a Gradle issue for misconfiguration / misbehaviour of the Flutter plugin. You could perhaps try on #C03EM93810S but would likely be better served investigating why its configured to look for that file/path.
w
ok thanks