Error in Complete code
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\DEV\VS Code\RKD\App Code\ShabdwaniRKD\android\build.gradle' line: 38
* What went wrong:
Could not compile build file 'C:\DEV\VS Code\RKD\App Code\ShabdwaniRKD\android\build.gradle'.
> startup failed:
build file 'C:\DEV\VS Code\RKD\App Code\ShabdwaniRKD\android\build.gradle': 38: Unexpected input: '{' @ line 38, column 9.
android {
^
1 error
* 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 873ms
Error: Gradle task assembleDebug failed with exit code 1
ATTACHED FILES
Asked 6 months ago on March 21, 2024 3:44 PM Comments 1 times
Support replied 6 months ago on March 22, 2024 9:52 AM
which flutter version are you used ?
Support DivineTechs