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
You are applying Flutter’s main 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
../../AppData/Local/Pub/Cache/git/flutter_slidable-d10a912aae1fb0da330d9c83169f15ed2b0b42a2/lib/src/actions.dart:102:13: Error: No named parameter with the name ‘primary’.
primary: effectiveForegroundColor,
^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/outlined_button.dart:138:22: Context: Found this candidate, but the arguments don’t match.
static ButtonStyle styleFrom({
^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
-
Where:
Script ‘C:srcflutterpackagesflutter_toolsgradlesrcmaingroovyflutter.groovy’ line: 1419 -
What went wrong:
Execution failed for task ‘:app:compileFlutterBuildDebug’.
Process ‘command ‘C:srcflutterbinflutter.bat” finished with non-zero exit value 1
- 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 18s
Error: Gradle task assembleDebug failed with exit code 1
I try uninstall & install android studio a new version
ด๊อกแด๊ก motor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.