Problem
A problem was found with the configuration of task ‘:google_maps_flutter:createFullJarDebug’ (type ‘ZipMergingTask’).
Launching lib\main.dart on Mi MIX 2 in debug mode...
Parameter format not correct -
Note: C:\Users\susha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\firebase_core-1.2.0\android\src\main\java\io\flutter\plugins\firebase\core\FlutterFirebaseCorePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\susha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\firebase_auth-1.2.0\android\src\main\java\io\flutter\plugins\firebase\auth\FlutterFirebaseAuthPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\susha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_local_notifications-5.0.0+1\android\src\main\java\com\dexterous\flutterlocalnotifications\FlutterLocalNotificationsPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\susha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\launch_review-3.0.1\android\src\main\java\com\iyaffle\launchreview\LaunchReviewPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\susha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\google_sign_in-4.5.9\android\src\main\java\io\flutter\plugins\googlesignin\GoogleSignInPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\susha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\google_maps_flutter-2.0.3\android\src\main\java\io\flutter\plugins\googlemaps\Convert.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\susha\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\google_maps_flutter-2.0.3\android\src\main\java\io\flutter\plugins\googlemaps\TileProviderController.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':google_maps_flutter:createFullJarDebug' (type 'ZipMergingTask').
> File 'D:\flutter_projects\crud_app\build\google_maps_flutter\intermediates\runtime_library_classes\debug\classes.jar' specified for property 'libraryInputFile' does not exist.
* 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 35s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
Solution
Solution for this issue is : delete the .grade
file in the android folder of project file.
Latest posts by Sushant K (see all)
- [SOLVED] Flutter : Waiting for another flutter command to release the startup lock. - July 2, 2021
- How to Change Passport Token length in laravel. - June 12, 2021
- Flutter : How to dismiss an AlertDialog on Button? - June 7, 2021