I'm interested to use your app but getting below errors.
Resolving dependencies...
Downloading packages...
collection 1.18.0 (1.19.0 available)
http_parser 4.0.2 (4.1.0 available)
leak_tracker 10.0.5 (10.0.7 available)
leak_tracker_flutter_testing 3.0.5 (3.0.8 available)
lints 5.0.0 (5.1.0 available)
material_color_utilities 0.11.1 (0.12.0 available)
meta 1.15.0 (1.16.0 available)
mime 1.0.6 (2.0.0 available)
stack_trace 1.11.1 (1.12.0 available)
string_scanner 1.2.0 (1.3.0 available)
test_api 0.7.2 (0.7.3 available)
vm_service 14.2.5 (14.3.0 available)
Got dependencies!
12 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated for more information.
Launching lib\main.dart on itel A665L in debug mode...
Running Gradle task 'assembleDebug'...
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/to/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/to/flutter-gradle-plugin-apply
What went wrong:
Failed to apply plugin class 'Dependency_version_checker_gradle$FlutterDependencyCheckerPlugin'.
Error: Your project's Android Gradle Plugin version (4.1.0) is lower than Flutter's minimum supported version of 7.0.0. Please upgrade your Android Gradle Plugin version.
Alternatively, use the flag "--android-skip-build-dependency-validation" to bypass this check.
Potential fix: Your project's AGP version is typically defined in the plugins block of the settings.gradle file (C:\Users\salma\IdeaProjects\FamilyTree\android/settings.gradle), by a plugin with the id of com.android.application.
If you don't see a plugins block, your project was likely created with an older template version. In this case it is most likely defined in the top-level build.gradle file (C:\Users\salma\IdeaProjects\FamilyTree\android/build.gradle) by the following line in the dependencies block of the buildscript: "classpath 'com.android.tools.build:gradle:'".
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.
I'm interested to use your app but getting below errors.
Resolving dependencies... Downloading packages... collection 1.18.0 (1.19.0 available) http_parser 4.0.2 (4.1.0 available) leak_tracker 10.0.5 (10.0.7 available) leak_tracker_flutter_testing 3.0.5 (3.0.8 available) lints 5.0.0 (5.1.0 available) material_color_utilities 0.11.1 (0.12.0 available) meta 1.15.0 (1.16.0 available) mime 1.0.6 (2.0.0 available) stack_trace 1.11.1 (1.12.0 available) string_scanner 1.2.0 (1.3.0 available) test_api 0.7.2 (0.7.3 available) vm_service 14.2.5 (14.3.0 available) Got dependencies! 12 packages have newer versions incompatible with dependency constraints. Try
flutter pub outdated
for more information. Launching lib\main.dart on itel A665L in debug mode... Running Gradle task 'assembleDebug'... 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/to/flutter-gradle-plugin-applyYou 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/to/flutter-gradle-plugin-apply
FAILURE: Build failed with an exception.
Where: Script 'C:\flutter\packages\flutter_tools\gradle\src\main\kotlin\dependency_version_checker.gradle.kts' line: 375
What went wrong: Failed to apply plugin class 'Dependency_version_checker_gradle$FlutterDependencyCheckerPlugin'.
Potential fix: Your project's AGP version is typically defined in the plugins block of the'".
settings.gradle
file (C:\Users\salma\IdeaProjects\FamilyTree\android/settings.gradle), by a plugin with the id of com.android.application. If you don't see a plugins block, your project was likely created with an older template version. In this case it is most likely defined in the top-level build.gradle file (C:\Users\salma\IdeaProjects\FamilyTree\android/build.gradle) by the following line in the dependencies block of the buildscript: "classpath 'com.android.tools.build:gradle:Try:
Get more help at https://help.gradle.org
BUILD FAILED in 1s Error: Gradle task assembleDebug failed with exit code 1