Regarding Gradle Issue

492 views
Skip to first unread message

HIMANSHU MISHRA

unread,
May 22, 2021, 2:36:35 AM5/22/21
to Flutter Development (flutter-dev)
Hey All

I am facing this issue right now. Can you please guide me to solve the issue.

Here is the Issue:
//

Launching lib\main.dart on SM G600FY in debug mode...
                                                                       
FAILURE: Build failed with an exception.

* Where:
Build file 'D:\COMPUTER SCIENCE\#Labs\Food App\flutter_application\android\app\build.gradle' line: 24

* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin [class 'org.gradle.api.plugins.BasePlugin']
   > Could not create service of type OutputFilesRepository using ExecutionGradleServices.createOutputFilesRepository().

* 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 3s
Running Gradle task 'assembleDebug'...                                  
Running Gradle task 'assembleDebug'... Done                         5.0s
Exception: Gradle task assembleDebug failed with exit code 1

HIMANSHU MISHRA

unread,
May 22, 2021, 5:06:04 AM5/22/21
to Flutter Development (flutter-dev)
Hey All, I have attached the screenshot of the issue . I am not to run the App.
I am also pasting the log of the Terminal..
Please help me out...

[ +102 ms] executing: [D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +121 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[   +1 ms] executing: [D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter/] git tag --points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[ +100 ms] Exit code 0 from: git tag --points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[        ] 2.0.1
[  +67 ms] executing: [D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +73 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter/] git ls-remote --get-url origin
[  +64 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +127 ms] executing: [D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter/] git rev-parse --abbrev-ref HEAD
[  +93 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[ +149 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +7 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +112 ms] executing: C:\Users\Dell\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[ +118 ms] List of devices attached
                    1114a070               device product:o7proltedd model:SM_G600FY device:o7prolte transport_id:2
[  +23 ms] C:\Users\Dell\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 1114a070 shell getprop
[ +158 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +8 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +184 ms] Skipping pub get: version match.
[  +51 ms] Found plugin android_intent at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\android_intent-2.0.0\
[  +61 ms] Found plugin firebase_core at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\
[   +8 ms] Found plugin firebase_core_web at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.2.1+1\
[  +19 ms] Found plugin firebase_messaging at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_messaging-7.0.3\
[  +26 ms] Found plugin flutter_inappbrowser at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_inappbrowser-0.1.1\
[   +9 ms] Found plugin flutter_inappwebview at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-5.3.2\
[  +10 ms] Found plugin flutter_plugin_android_lifecycle at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.1\
[  +20 ms] Found plugin fluttertoast at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\fluttertoast-4.0.1\
[  +10 ms] Found plugin geolocator at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\geolocator-6.2.1\
[   +5 ms] Found plugin geolocator_web at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\geolocator_web-1.0.1\      
[  +26 ms] Found plugin google_map_location_picker at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\google_map_location_picker-4.1.7\
[   +9 ms] Found plugin google_maps_flutter at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\google_maps_flutter-2.0.5\
[  +49 ms] Found plugin location at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\location-2.5.4\
[  +30 ms] Found plugin package_info at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\package_info-2.0.0\
[  +15 ms] Found plugin path_provider at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-1.6.27\
[   +3 ms] Found plugin path_provider_linux at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2\
[   +9 ms] Found plugin path_provider_macos at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+8\
[  +15 ms] Found plugin path_provider_windows at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-0.0.4+3\
[  +39 ms] Found plugin shared_preferences at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-0.5.10\
[  +13 ms] Found plugin shared_preferences_linux at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-0.0.2+4\
[   +4 ms] Found plugin shared_preferences_macos at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1+11\
[  +13 ms] Found plugin shared_preferences_web at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-0.1.2+7\
[  +12 ms] Found plugin sqflite at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.0+3\
[  +33 ms] Found plugin url_launcher at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.5.0\
[   +3 ms] Found plugin url_launcher_linux at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-0.0.1+4\
[   +8 ms] Found plugin url_launcher_macos at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+9\
[   +8 ms] Found plugin url_launcher_web at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-0.1.4+1\[   +9 ms] Found plugin video_player at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\video_player-0.10.12+5\      
[  +10 ms] Found plugin video_player_web at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\video_player_web-0.1.4+1\[   +4 ms] Found plugin wakelock at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.1.4+2\
[   +4 ms] Found plugin webview_flutter at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter-0.3.24\
[ +380 ms] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                    Warning
                    ──────────────────────────────────────────────────────────────────────────────
                    Your Flutter application is created using an older version of the Android
                    embedding. It's being deprecated in favor of Android embedding v2. Follow the
                    steps at

                    https://flutter.dev/go/android-project-migration

                    to migrate your project.
                    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

[  +49 ms] Found plugin android_intent at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\android_intent-2.0.0\
[  +38 ms] Found plugin firebase_core at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\
[   +4 ms] Found plugin firebase_core_web at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.2.1+1\
[   +3 ms] Found plugin firebase_messaging at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_messaging-7.0.3\
[   +5 ms] Found plugin flutter_inappbrowser at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_inappbrowser-0.1.1\
[   +3 ms] Found plugin flutter_inappwebview at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-5.3.2\
[   +3 ms] Found plugin flutter_plugin_android_lifecycle at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.1\
[  +11 ms] Found plugin fluttertoast at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\fluttertoast-4.0.1\
[   +3 ms] Found plugin geolocator at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\geolocator-6.2.1\
[   +4 ms] Found plugin geolocator_web at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\geolocator_web-1.0.1\
[   +7 ms] Found plugin google_map_location_picker at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\google_map_location_picker-4.1.7\
[   +4 ms] Found plugin google_maps_flutter at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\google_maps_flutter-2.0.5\
[  +15 ms] Found plugin location at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\location-2.5.4\
[  +16 ms] Found plugin package_info at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\package_info-2.0.0\
[   +5 ms] Found plugin path_provider at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-1.6.27\
[   +2 ms] Found plugin path_provider_linux at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2\
[   +2 ms] Found plugin path_provider_macos at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+8\
[   +3 ms] Found plugin path_provider_windows at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-0.0.4+3\
[  +22 ms] Found plugin shared_preferences at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-0.5.10\
[   +5 ms] Found plugin shared_preferences_linux at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-0.0.2+4\
[   +5 ms] Found plugin shared_preferences_macos at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1+11\
[  +12 ms] Found plugin shared_preferences_web at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-0.1.2+7\
[   +6 ms] Found plugin sqflite at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.0+3\
[  +22 ms] Found plugin url_launcher at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.5.0\
[   +4 ms] Found plugin url_launcher_linux at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-0.0.1+4\
[   +6 ms] Found plugin url_launcher_macos at D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+9\
[   +6 ms] Found plugin url_launcher_web at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-0.1.4+1\[  +12 ms] Found plugin video_player at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\video_player-0.10.12+5\
[   +9 ms] Found plugin video_player_web at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\video_player_web-0.1.4+1\[   +4 ms] Found plugin wakelock at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\wakelock-0.1.4+2\
[   +5 ms] Found plugin webview_flutter at D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter-0.3.24\  
[  +59 ms] Generating D:\COMPUTER SCIENCE\#Labs\Food
App\flutter_application(22-05-2021)\flutter_application\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +149 ms] ro.hardware = qcom
[  +88 ms] Initializing file store
[  +21 ms] Skipping target: gen_localizations
[  +10 ms] complete
[  +11 ms] Launching lib\main.dart on SM G600FY in debug mode...
[  +16 ms] D:\COMPUTER SCIENCE\SOFTWARES\Flutter\Flutter\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root D:\COMPUTER
SCIENCE\SOFTWARES\Flutter\Flutter\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names      
--experimental-emit-debug-metadata --output-dill C:\Users\Dell\AppData\Local\Temp\flutter_tools.6a566540\flutter_tool.fe0940ef\app.dill --packages D:\COMPUTERSCIENCE\#Labs\Food App\flutter_application(22-05-2021)\flutter_application\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false    
--enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\cache.dill.track.dill
[  +51 ms] executing: C:\Users\Dell\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 1114a070 shell -x logcat -v time -t 1
[  +38 ms] <- compile package:food_delivery_app/main.dart
[ +210 ms] --------- beginning of system
                    05-22 14:33:08.614 D/SSRM:P  ( 1641): reading: 32 31 0
[  +31 ms] executing: C:\Users\Dell\AppData\Local\Android\Sdk\platform-tools\adb.exe version
[  +68 ms] Android Debug Bridge version 1.0.41
           Version 29.0.5-5949299
           Installed as C:\Users\Dell\AppData\Local\Android\Sdk\platform-tools\adb.exe
[   +8 ms] executing: C:\Users\Dell\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server
[ +156 ms] Building APK
[  +78 ms] Running Gradle task 'assembleDebug'...
[  +14 ms] Using gradle from D:\COMPUTER SCIENCE\#Labs\Food App\flutter_application(22-05-2021)\flutter_application\android\gradlew.bat.
[  +27 ms] D:\COMPUTER SCIENCE\#Labs\Food App\flutter_application(22-05-2021)\flutter_application\android\gradlew.bat mode: 33279 rwxrwxrwx.
[  +80 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +303 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[  +13 ms] openjdk version "1.8.0_202-release"
           OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
           OpenJDK 64-Bit Server VM (build 25.202-b03, mixed mode)
[  +21 ms] executing: [D:\COMPUTER SCIENCE\#Labs\Food App\flutter_application(22-05-2021)\flutter_application\android/] D:\COMPUTER SCIENCE\#Labs\Food
App\flutter_application(22-05-2021)\flutter_application\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm -Ptarget=D:\COMPUTER
SCIENCE\#Labs\Food App\flutter_application(22-05-2021)\flutter_application\lib\main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root  
assembleDebug
[+1760 ms] Welcome to Gradle 6.4.1!
[ +154 ms] Here are the highlights of this release:
[   +8 ms]  - Support for building, testing and running Java Modules
[  +78 ms]  - Precompiled script plugins for Groovy DSL
[   +5 ms]  - Single dependency lock file per project
[  +75 ms] For more details see https://docs.gradle.org/6.4.1/release-notes.html
[+1718 ms] FAILURE: Build failed with an exception.
[  +12 ms] * Where:
[  +99 ms] Build file 'D:\COMPUTER SCIENCE\#Labs\Food App\flutter_application(22-05-2021)\flutter_application\android\app\build.gradle' line: 25
[  +84 ms] * What went wrong:
[   +8 ms] A problem occurred evaluating project ':app'.
[   +1 ms] > Plugin with id 'org.gradle.api.plugins.BasePlugin' not found.
[   +1 ms] * Try:
[   +1 ms] 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.
[  +28 ms] * Get more help at https://help.gradle.org
[   +2 ms] BUILD FAILED in 3s
[  +55 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[   +1 ms] Use '--warning-mode all' to show the individual deprecation warnings.
[   +4 ms] See https://docs.gradle.org/6.4.1/userguide/command_line_interface.html#sec:command_line_warnings
[ +395 ms] Running Gradle task 'assembleDebug'... (completed in 4.9s)
[+20073 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +3 ms] "flutter run" took 27,971ms.
[ +160 ms]
                    #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
                    #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:644:9)
                    <asynchronous suspension>
                    #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1157:12)
                    <asynchronous suspension>
                    #3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1009:27)
                    <asynchronous suspension>
                    #4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
                    <asynchronous suspension>
                    #5      AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
                    <asynchronous suspension>
                    #6      CommandRunner.runCommand (package:args/command_runner.dart:197:13)
                    <asynchronous suspension>
                    #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:278:9)
                    <asynchronous suspension>
                    #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
                    <asynchronous suspension>
                    #11     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
                    <asynchronous suspension>
                    #12     run.<anonymous closure> (package:flutter_tools/runner.dart:62:12)
                    <asynchronous suspension>
                    #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
                    <asynchronous suspension>
                    #14     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
                    <asynchronous suspension>
                    #15     runInContext (package:flutter_tools/src/context_runner.dart:73:10)
                    <asynchronous suspension>
                    #16     main (package:flutter_tools/executable.dart:90:3)
                    <asynchronous suspension>


[ +274 ms] ensureAnalyticsSent: 263ms
[   +3 ms] Running shutdown hooks
[   +1 ms] Shutdown hook priority 4
[ +916 ms] Shutdown hooks complete
[  +48 ms] exiting with code 1
Screenshot (224).png

Shildra wo

unread,
May 22, 2021, 5:25:33 AM5/22/21
to Flutter Development (flutter-dev)
Hello, Flutter Team.
I think there's spy in Flutter dev team.
In the past, Flutter worked well and had less dependencies with package versions.
But now, Flutter is losing its advantages.
I think Flutter can be same as Angular.
It's afraid experiences.
From Flutter lover.

HIMANSHU MISHRA

unread,
May 22, 2021, 10:09:39 AM5/22/21
to Flutter Development (flutter-dev)
Please help me out

Thanks And Regards
HIMANSHU MISHRA
   
Screenshot (224).png

Suzuki Tomohiro

unread,
May 22, 2021, 10:59:42 AM5/22/21
to HIMANSHU MISHRA, Flutter Development (flutter-dev)
What did you modify?

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/CAJySXU8dGz-g5%2BSubTxEh32Uqk_KsgDiTQ4LP6Msg5TKBuWnYA%40mail.gmail.com.

HIMANSHU MISHRA

unread,
May 22, 2021, 1:52:24 PM5/22/21
to Suzuki Tomohiro, Flutter Development (flutter-dev)
I just run the project.. I didn't modified anything

Suzuki Tomohiro

unread,
May 22, 2021, 2:18:33 PM5/22/21
to HIMANSHU MISHRA, Flutter Development (flutter-dev)
Can you try an empty project via “flutter create”?

HIMANSHU MISHRA

unread,
May 22, 2021, 2:26:05 PM5/22/21
to Suzuki Tomohiro, Flutter Development (flutter-dev)
Yes. Other projects are working well. Only issue exists in this project

Suzuki Tomohiro

unread,
May 22, 2021, 2:27:05 PM5/22/21
to HIMANSHU MISHRA, Flutter Development (flutter-dev)
Good. What did you modify in that project, regarding Android build?

HIMANSHU MISHRA

unread,
May 22, 2021, 2:29:16 PM5/22/21
to Suzuki Tomohiro, Flutter Development (flutter-dev)
Nothing. Just run the project. No modifications in Gradle or any files in Android folder

Suzuki Tomohiro

unread,
May 22, 2021, 2:45:31 PM5/22/21
to HIMANSHU MISHRA, Flutter Development (flutter-dev)
Can you try copying files you changed one by one from your project to the empty project until Android build breaks.

Benedicte Roussel

unread,
May 22, 2021, 3:14:32 PM5/22/21
to HIMANSHU MISHRA, Suzuki Tomohiro, Flutter Development (flutter-dev)
Hi Himanshu,

Are you sure you did not change the Gradle?

I can see this: 'Welcome to Gradle 6.4.1!'  it should be something like 6.7.1

Of course, 6.4.1 does exist (Gradle | Releases)


But generally, Flutter projects come along with 6.7.1 and can work of course with more recent gradles


HIMANSHU MISHRA

unread,
May 22, 2021, 10:04:04 PM5/22/21
to Suzuki Tomohiro, Flutter Development (flutter-dev)
Okay let me try

HIMANSHU MISHRA

unread,
May 22, 2021, 10:06:01 PM5/22/21
to Benedicte Roussel, Suzuki Tomohiro, Flutter Development (flutter-dev)
I didn't change anything. Other projects are working well
Reply all
Reply to author
Forward
0 new messages