flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
166.09k stars 27.43k forks source link

Issue with Gradle Build during Flutter run command #58637

Open aadizorro opened 4 years ago

aadizorro commented 4 years ago

I have created a new Flutter project in Android Studio. while doing "flutter run" in project directory, i am getting below error.

**D:\SandBox\Flutter_workspace\flutter_app>flutter run The system cannot find the path specified. The system cannot find the path specified. Launching lib\main.dart on Redmi 4 in debug mode... The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified.

FAILURE: Build failed with an exception.

BUILD FAILED in 6s Running Gradle task 'assembleDebug'... Running Gradle task 'assembleDebug'... Done 7.1s Exception: Gradle task assembleDebug failed with exit code 1**

Steps to Reproduce

  1. Create a new Flutter project in Android Studio.
  2. Run "flutter run" in project directory or click on "Run" button

Logs

Output of flutter run --verbose :

D:\SandBox\Flutter_workspace\flutter_app>flutter run --verbose
The system cannot find the path specified.
The system cannot find the path specified.
[  +18 ms] executing: [D:\Flutter-SDK\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +69 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +3 ms] 5f21edf8b66e31a39133177319414395cc5b5f48
[   +1 ms] executing: [D:\Flutter-SDK\flutter/] git tag --contains HEAD
[ +244 ms] Exit code 0 from: git tag --contains HEAD
[   +3 ms] 1.17.2
[  +16 ms] executing: [D:\Flutter-SDK\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +40 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +3 ms] origin/stable
[   +7 ms] executing: [D:\Flutter-SDK\flutter/] git ls-remote --get-url origin
[  +47 ms] Exit code 0 from: git ls-remote --get-url origin
[   +2 ms] https://github.com/flutter/flutter.git
[ +111 ms] executing: [D:\Flutter-SDK\flutter/] git rev-parse --abbrev-ref HEAD
[  +42 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +2 ms] stable
[  +44 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[  +20 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +11 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +8 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[  +12 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +7 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +33 ms] executing: C:\Users\adity\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[  +51 ms] List of devices attached
           ca2825ef7d14           device product:santoni model:Redmi_4 device:santoni transport_id:1
[  +10 ms] C:\Users\adity\AppData\Local\Android\Sdk\platform-tools\adb.exe -s ca2825ef7d14 shell getprop
[ +147 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[  +10 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +12 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +8 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[  +10 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[  +11 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +211 ms] Generating D:\SandBox\Flutter_workspace\flutter_app\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +28 ms] ro.hardware = qcom
[  +54 ms] Launching lib\main.dart on Redmi 4 in debug mode...
[  +12 ms] D:\Flutter-SDK\flutter\bin\cache\dart-sdk\bin\dart.exe D:\Flutter-SDK\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
D:\Flutter-SDK\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names -Ddart.developer.causal_async_stacks=true --output-dill
C:\Users\adity\AppData\Local\Temp\flutter_tool.382d803a-a5e4-11ea-9cca-cd7aa83d4682\app.dill --packages D:\SandBox\Flutter_workspace\flutter_app\.packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme
org-dartlang-root --initialize-from-dill build\cache.dill
[  +23 ms] executing: C:\Users\adity\AppData\Local\Android\Sdk\platform-tools\adb.exe -s ca2825ef7d14 shell -x logcat -v time -t 1
[ +285 ms] Exit code 0 from: C:\Users\adity\AppData\Local\Android\Sdk\platform-tools\adb.exe -s ca2825ef7d14 shell -x logcat -v time -t 1
[   +6 ms] --------- beginning of main
           06-04 03:20:21.964 D/ThermalEngine(  685): sensor_wait: case_therm Wait start. 1000ms
[  +33 ms] <- compile package:flutterapp/main.dart
[  +25 ms] executing: C:\Users\adity\AppData\Local\Android\Sdk\platform-tools\adb.exe version
[  +66 ms] Android Debug Bridge version 1.0.41
           Version 30.0.1-6435776
           Installed as C:\Users\adity\AppData\Local\Android\Sdk\platform-tools\adb.exe
[   +7 ms] executing: C:\Users\adity\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server
[  +42 ms] Building APK
[  +28 ms] Running Gradle task 'assembleDebug'...
[   +7 ms] gradle.properties already sets `android.enableR8`
[  +10 ms] Using gradle from D:\SandBox\Flutter_workspace\flutter_app\android\gradlew.bat.
[   +7 ms] D:\SandBox\Flutter_workspace\flutter_app\android\gradlew.bat mode: 33279 rwxrwxrwx.
[  +18 ms] executing: C:\Program Files\Android\Android Studio2\jre\bin\java -version
[ +142 ms] Exit code 0 from: C:\Program Files\Android\Android Studio2\jre\bin\java -version
[   +3 ms] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
           OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[  +16 ms] executing: [D:\SandBox\Flutter_workspace\flutter_app\android/] D:\SandBox\Flutter_workspace\flutter_app\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=D:\SandBox\Flutter_workspace\flutter_app\lib\main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[  +51 ms] The system cannot find the path specified.
[+1647 ms] > Configure project :app
[   +4 ms] WARNING: The following project options are deprecated and have been removed:
[   +6 ms] android.enableAapt2
[   +6 ms] This property has no effect, AAPT2 is now always used.
[+2179 ms] > Task :app:compileFlutterBuildDebug
[   +4 ms] [  +20 ms] executing: [D:\Flutter-SDK\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +4 ms] [  +62 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [        ] 5f21edf8b66e31a39133177319414395cc5b5f48
[   +1 ms] [        ] executing: [D:\Flutter-SDK\flutter/] git tag --contains HEAD
[   +9 ms] [ +254 ms] Exit code 0 from: git tag --contains HEAD
[   +1 ms] [   +1 ms] 1.17.2
[   +3 ms] [  +10 ms] executing: [D:\Flutter-SDK\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +5 ms] [  +35 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +5 ms] [        ] origin/stable
[   +1 ms] [        ] executing: [D:\Flutter-SDK\flutter/] git ls-remote --get-url origin
[   +5 ms] [  +32 ms] Exit code 0 from: git ls-remote --get-url origin
[   +3 ms] [        ] https://github.com/flutter/flutter.git
[   +7 ms] [  +98 ms] executing: [D:\Flutter-SDK\flutter/] git rev-parse --abbrev-ref HEAD
[   +3 ms] [  +48 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +5 ms] [        ] stable
[   +5 ms] [  +30 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +5 ms] The system cannot find the path specified.
[  +10 ms] The system cannot find the path specified.
[   +3 ms] The system cannot find the path specified.
[   +2 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +5 ms] [   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +4 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +7 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +4 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +5 ms] [  +18 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +8 ms] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +9 ms] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[  +10 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[  +10 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +4 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +4 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[  +10 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +4 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +4 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[   +4 ms] [  +87 ms] Initializing file store
[   +5 ms] [  +15 ms] Done initializing file store
[ +842 ms] [+1719 ms] Skipping target: kernel_snapshot
[ +199 ms] [ +200 ms] debug_android_application: Starting due to {InvalidatedReason.outputMissing}
[ +198 ms] [ +207 ms] debug_android_application: Complete
[   +4 ms] [  +24 ms] Persisting file store
[   +5 ms] [  +19 ms] Done persisting file store
[  +90 ms] [   +4 ms] build succeeded.
[   +3 ms] [  +33 ms] "flutter assemble" took 2,421ms.
[ +172 ms] > Task :app:compileFlutterBuildDebug FAILED
[   +4 ms] 1 actionable task: 1 executed
[   +5 ms] FAILURE: Build failed with an exception.
[   +3 ms] * Where:
[   +1 ms] Script 'D:\Flutter-SDK\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882
[   +4 ms] * What went wrong:
[   +6 ms] Execution failed for task ':app:compileFlutterBuildDebug'.
[   +3 ms] > Process 'command 'D:\Flutter-SDK\flutter\bin\flutter.bat'' finished with non-zero exit value 1
[   +2 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.
[   +3 ms] * Get more help at https://help.gradle.org
[   +2 ms] BUILD FAILED in 5s
[ +334 ms] Running Gradle task 'assembleDebug'... (completed in 6.2s)
[ +520 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +2 ms] "flutter run" took 8,093ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:569:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:723:18)
#3      _rootRunUnary (dart:async/zone.dart:1192:38)
#4      _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#5      _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#7      Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#8      Future._completeWithValue (dart:async/future_impl.dart:526:5)
#9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
#10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
#11     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#12     _rootRunUnary (dart:async/zone.dart:1192:38)
#13     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#14     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#15     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#16     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#17     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#18     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
#19     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
#20     AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart)
#21     _rootRunUnary (dart:async/zone.dart:1192:38)
#22     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#23     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#24     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#25     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#26     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#27     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:556:7)
#28     _rootRun (dart:async/zone.dart:1184:13)
#29     _CustomZone.run (dart:async/zone.dart:1077:19)
#30     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#31     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
#32     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#33     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#34     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#35     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

Output for flutter doctor -v

D:\SandBox\Flutter_workspace\flutter_app>flutter doctor -v
The system cannot find the path specified.
The system cannot find the path specified.
[√] Flutter (Channel stable, v1.17.2, on Windows, locale en-IN)
    • Flutter version 1.17.2 at D:\Flutter-SDK\flutter
    • Framework revision 5f21edf8b6 (6 days ago), 2020-05-28 12:44:12 -0700
    • Engine revision b851c71829
    • Dart version 2.8.3

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\adity\AppData\Local\Android\Sdk
    • Platform android-28, build-tools 28.0.3
    • ANDROID_SDK_ROOT = D:\Android_SDK
    • Java binary at: C:\Program Files\Android\Android Studio2\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio2
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.45.1)
    • VS Code at C:\Users\adity\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.11.0

[√] Connected device (1 available)
    • Redmi 4 • ca2825ef7d14 • android-arm64 • Android 7.1.2 (API 25)

• No issues found!

Output of gradlew build --stacktrace inside PROJECTDIR\android

D:\SandBox\Flutter_workspace\flutter_app\android>gradlew build --stacktrace

> Configure project :app
WARNING: The following project options are deprecated and have been removed:
android.enableAapt2
This property has no effect, AAPT2 is now always used.

> Task :app:compileFlutterBuildDebug
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.

> Task :app:compileFlutterBuildDebug FAILED

FAILURE: Build failed with an exception.

* Where:
Script 'D:\Flutter-SDK\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'D:\Flutter-SDK\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileFlutterBuildDebug'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(ExecuteActionsTaskExecuter.java:166)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(ExecuteActionsTaskExecuter.java:163)
        at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:191)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:156)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:62)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:108)
        at org.gradle.api.internal.tasks.execution.ResolveBeforeExecutionOutputsTaskExecuter.execute(ResolveBeforeExecutionOutputsTaskExecuter.java:67)
        at org.gradle.api.internal.tasks.execution.ResolveAfterPreviousExecutionStateTaskExecuter.execute(ResolveAfterPreviousExecutionStateTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:94)
        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:95)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:43)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:355)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:134)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:129)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:202)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:193)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:129)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
Caused by: org.gradle.process.internal.ExecException: Process 'command 'D:\Flutter-SDK\flutter\bin\flutter.bat'' finished with non-zero exit value 1
        at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:409)
        at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:38)
        at org.gradle.process.internal.DefaultExecActionFactory.exec(DefaultExecActionFactory.java:145)
        at org.gradle.api.internal.project.DefaultProject.exec(DefaultProject.java:1117)
        at org.gradle.api.internal.project.DefaultProject.exec(DefaultProject.java:1112)
        at org.gradle.api.Project$exec$5.call(Unknown Source)
        at BaseFlutterTask.buildBundle(D:\Flutter-SDK\flutter\packages\flutter_tools\gradle\flutter.gradle:882)
        at BaseFlutterTask$buildBundle.callCurrent(Unknown Source)
        at FlutterTask.build(D:\Flutter-SDK\flutter\packages\flutter_tools\gradle\flutter.gradle:990)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:103)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:49)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:42)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:28)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:717)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:684)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$5.run(ExecuteActionsTaskExecuter.java:476)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:461)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:444)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$200(ExecuteActionsTaskExecuter.java:93)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:237)
        at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$1(ExecuteStep.java:33)
        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:33)
        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26)
        at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:58)
        at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:35)
        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)
        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:33)
        at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:39)
        at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73)
        at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54)
        at org.gradle.internal.execution.steps.CatchExceptionStep.execute(CatchExceptionStep.java:35)
        at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)
        at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:45)
        at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:31)
        at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:208)
        at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:70)
        at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:45)
        at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:49)
        at org.gradle.internal.execution.steps.StoreSnapshotsStep.execute(StoreSnapshotsStep.java:43)
        at org.gradle.internal.execution.steps.StoreSnapshotsStep.execute(StoreSnapshotsStep.java:32)
        at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38)
        at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:96)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:89)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:54)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)
        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:76)
        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26)
        at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:90)
        at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:48)
        at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:69)
        at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:47)
        at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:140)
        ... 34 more

* Get more help at https://help.gradle.org

BUILD FAILED in 5s
1 actionable task: 1 executed

Kindly help with this as this is my first time with flutter, gradle as well as Android Studio.

TahaTesser commented 4 years ago

could be related https://github.com/flutter/flutter/issues/49507

aadizorro commented 4 years ago

Hi @TahaTesser , as per suggestion in #49507, i ran "flutter pub cache repair --verbose", i am getting below error at the end,

MSG : Reinstalled 90 packages. pub finished with exit code 1

0 throwToolExit (package:flutter_tools/src/base/common.dart:14:3)

1 _DefaultPub.interactively (package:flutter_tools/src/dart/pub.dart:338:7)

#2 PackagesForwardCommand.runCommand (package:flutter_tools/src/commands/packages.dart:239:15) #3 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:723:18) #4 _rootRunUnary (dart:async/zone.dart:1192:38) #5 _CustomZone.runUnary (dart:async/zone.dart:1085:19) #6 _FutureListener.handleValue (dart:async/future_impl.dart:141:18) #7 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45) #8 Future._propagateToListeners (dart:async/future_impl.dart:711:32) #9 Future._completeWithValue (dart:async/future_impl.dart:526:5) #10 Future._asyncComplete. (dart:async/future_impl.dart:556:7) #11 _rootRun (dart:async/zone.dart:1184:13) #12 _CustomZone.run (dart:async/zone.dart:1077:19) #13 _CustomZone.runGuarded (dart:async/zone.dart:979:7) #14 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1019:23) #15 _microtaskLoop (dart:async/schedule_microtask.dart:43:21) #16 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5) #17 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13) #18 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
aadizorro commented 4 years ago

@TahaTesser did you get a chance to look at this issue?

lielvan commented 4 years ago

Getting the same error after deleting .gradle/caches folder

flutter run --verbose

[+1300 ms] > Configure project :app
[        ] WARNING: The option setting 'android.enableR8=true' is deprecated.
[        ] It will be removed in version 5.0 of the Android Gradle plugin.
[        ] You will no longer be able to disable R8
[+1786 ms] > Task :app:compileFlutterBuildDebug FAILED
[   +1 ms] FAILURE: Build failed with an exception.
[   +2 ms] * Where:
[        ] Script '/Users/lielvdh/Developer/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 882
[        ] * What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildDebug'.
[        ] > BaseFlutterTask$_buildBundle_closure2
[        ] * 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 2s
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings
[        ] 1 actionable task: 1 executed
[ +427 ms] Running Gradle task 'assembleDebug'... (completed in 3.7s)
[+5388 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +1 ms] "flutter run" took 14,980ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:569:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:723:18)
#3      _rootRunUnary (dart:async/zone.dart:1192:38)
#4      _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#5      _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#7      Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#8      Future._completeWithValue (dart:async/future_impl.dart:526:5)
#9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
#10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
#11     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#12     _rootRunUnary (dart:async/zone.dart:1192:38)
#13     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#14     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#15     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#16     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#17     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#18     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
#19     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
#20     AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart)
#21     _rootRunUnary (dart:async/zone.dart:1192:38)
#22     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#23     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#24     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#25     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#26     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#27     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:556:7)
#28     _rootRun (dart:async/zone.dart:1184:13)
#29     _CustomZone.run (dart:async/zone.dart:1077:19)
#30     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#31     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
#32     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#33     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#34     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#35     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

flutter doctor -v

[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.6 19G73, locale en-IL)
    • Flutter version 1.17.5 at /Users/lielvdh/Developer/flutter
    • Framework revision 8af6b2f038 (5 weeks ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/lielvdh/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.1

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] VS Code (version 1.45.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

! Doctor found issues in 1 category.
wkt1227 commented 1 year ago

I too faced the same error when I build default counter app. I ran "flutter pub cache repair --verbose", but that did not fix the error. Help me.

Logs

``` PS C:\Users\wkt1227\FlutterProjects\flutter_application_1> flutter run -v The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. [ +140 ms] executing: [C:\src\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +183 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ +1 ms] b8f7f1f9869bb2d116aa6a70dbeac61000b52849 [ +2 ms] executing: [C:\src\flutter/] git tag --points-at b8f7f1f9869bb2d116aa6a70dbeac61000b52849 [ +367 ms] Exit code 0 from: git tag --points-at b8f7f1f9869bb2d116aa6a70dbeac61000b52849 [ +2 ms] 3.3.9 [ +155 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref --symbolic @{upstream} [ +129 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream} [ +1 ms] origin/stable [ +1 ms] executing: [C:\src\flutter/] git ls-remote --get-url origin [ +138 ms] Exit code 0 from: git ls-remote --get-url origin [ +1 ms] https://github.com/flutter/flutter.git [ +185 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref HEAD [ +141 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ +1 ms] stable [ +267 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +2 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. [ +51 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ +2 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ +3 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ +2 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ +8 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ +5 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +256 ms] executing: C:\Users\wkt1227\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l [ +152 ms] List of devices attached 354958112128161 device product:SH-41A model:SH_41A device:Jerid transport_id:2 [ +19 ms] C:\Users\wkt1227\AppData\Local\Android\sdk\platform-tools\adb.exe -s 354958112128161 shell getprop [ +360 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +41 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ +5 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +310 ms] Skipping pub get: version match. [ +483 ms] Generating C:\Users\wkt1227\FlutterProjects\flutter_application_1\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java [ +191 ms] ro.hardware = qcom [ +89 ms] Initializing file store [ +41 ms] Skipping target: gen_localizations [ +19 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\Users\wkt1227\FlutterProjects\flutter_application_1\.dart_tool\package_config_subset} [ +106 ms] gen_dart_plugin_registrant: Complete [ +7 ms] Skipping target: _composite [ +7 ms] complete [ +27 ms] Launching lib\main.dart on SH 41A in debug mode... [ +16 ms] C:\src\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\src\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root C:\src\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\wkt1227\AppData\Local\Temp\flutter_tools.91581384\flutter_tool.927275cd\app.dill --packages C:\Users\wkt1227\FlutterProjects\flutter_application_1\.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\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --verbosity=error --enable-experiment=alternative-invalidation-strategy [ +56 ms] executing: C:\Users\wkt1227\AppData\Local\Android\sdk\platform-tools\adb.exe -s 354958112128161 shell -x logcat -v time -t 1 [ +63 ms] <- compile package:flutter_application_1/main.dart [ +427 ms] --------- beginning of system 12-14 17:44:52.124 W/ProcessStats( 1727): Tracking association SourceState{d1f6a0f system/1000 BTopFgs #1396096} whose proc state 2 is better than process ProcessState{f4aea9c com.expressvpn.vpn/10571 pkg=com.expressvpn.vpn} proc state 3 (8 skipped) [ +151 ms] executing: C:\Users\wkt1227\AppData\Local\Android\sdk\platform-tools\adb.exe version [ +520 ms] Android Debug Bridge version 1.0.41 Version 33.0.3-8952118 Installed as C:\Users\wkt1227\AppData\Local\Android\sdk\platform-tools\adb.exe [ +21 ms] executing: C:\Users\wkt1227\AppData\Local\Android\sdk\platform-tools\adb.exe start-server [ +230 ms] Building APK [ +90 ms] Running Gradle task 'assembleDebug'... [ +17 ms] Using gradle from C:\Users\wkt1227\FlutterProjects\flutter_application_1\android\gradlew.bat. [ +109 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version [+1818 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +1 ms] openjdk version "11.0.13" 2021-10-19 OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) OpenJDK 64-Bit Server VM (build 11.0.13+0-b1751.21-8125866, mixed mode) [ +4 ms] executing: [C:\Users\wkt1227\FlutterProjects\flutter_application_1\android/] C:\Users\wkt1227\FlutterProjects\flutter_application_1\android\gradlew.bat --full-stacktrace --info -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=C:\Users\wkt1227\FlutterProjects\flutter_application_1\lib\main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug [ +354 ms] The system cannot find the path specified. [+2438 ms] Initialized native services in: C:\Users\wkt1227\.gradle\native [ +11 ms] Initialized jansi services in: C:\Users\wkt1227\.gradle\native [+2920 ms] The client will now receive all logging from the daemon (pid: 16348). The daemon log file: C:\Users\wkt1227\.gradle\daemon\7.4\daemon-16348.out.log [ +4 ms] Starting 10th build in daemon [uptime: 3 hrs 37 mins 10.923 secs, performance: 100%] [ +192 ms] Using 4 worker leases. [ +801 ms] Now considering [C:\Users\wkt1227\FlutterProjects\flutter_application_1\android] as hierarchies to watch [ +681 ms] Watching the file system is configured to be enabled if available [ +758 ms] File system watching is active [ +497 ms] Starting Build [ +3 ms] Settings evaluated using settings file 'C:\Users\wkt1227\FlutterProjects\flutter_application_1\android\settings.gradle'. [ +41 ms] Projects loaded. Root project using build file 'C:\Users\wkt1227\FlutterProjects\flutter_application_1\android\build.gradle'. [ +26 ms] Included projects: [root project 'android', project ':app'] [ +25 ms] > Configure project : [ +32 ms] Evaluating root project 'android' using build file 'C:\Users\wkt1227\FlutterProjects\flutter_application_1\android\build.gradle'. [+1125 ms] > Configure project :app [ +154 ms] Evaluating project ':app' using build file 'C:\Users\wkt1227\FlutterProjects\flutter_application_1\android\app\build.gradle'. [ +3 ms] Parsed shrinker version: 3.1.66 [ +7 ms] All projects evaluated. [ +7 ms] Selected primary task 'assembleDebug' from project : [ +331 ms] Tasks to be executed: [task ':app:preBuild', task ':app:preDebugBuild', task ':app:mergeDebugNativeDebugMetadata', task ':app:compileFlutterBuildDebug', task ':app:packLibsflutterBuildDebug', task ':app:compileDebugAidl', task ':app:compileDebugRenderscript', task ':app:generateDebugBuildConfig', task ':app:checkDebugAarMetadata', task ':app:cleanMergeDebugAssets', task ':app:mergeDebugShaders', task ':app:compileDebugShaders', task ':app:generateDebugAssets', task ':app:mergeDebugAssets', task ':app:copyFlutterAssetsDebug', task ':app:generateDebugResValues', task ':app:generateDebugResources', task ':app:mergeDebugResources', task ':app:createDebugCompatibleScreenManifests', task ':app:extractDeepLinksDebug', task ':app:processDebugMainManifest', task ':app:processDebugManifest', task ':app:processDebugManifestForPackage', task ':app:processDebugResources', task ':app:compileDebugKotlin', task ':app:javaPreCompileDebug', task ':app:compileDebugJavaWithJavac', task ':app:compressDebugAssets', task ':app:processDebugJavaRes', task ':app:mergeDebugJavaResource', task ':app:checkDebugDuplicateClasses', task ':app:dexBuilderDebug', task ':app:desugarDebugFileDependencies', task ':app:mergeExtDexDebug', task ':app:mergeDexDebug', task ':app:mergeDebugJniLibFolders', task ':app:mergeDebugNativeLibs', task ':app:stripDebugDebugSymbols', task ':app:validateSigningDebug', task ':app:writeDebugAppMetadata', task ':app:writeDebugSigningConfigVersions', task ':app:packageDebug', task ':app:createDebugApkListingFileRedirect', task ':app:assembleDebug'] [ +57 ms] Tasks that were excluded: [] [ +55 ms] Analytics other plugin to proto: Unknown plugin type org.gradle.api.plugins.JvmEcosystemPlugin expected enum ORG_GRADLE_API_PLUGINS_JVMECOSYSTEMPLUGIN [ +6 ms] Analytics other plugin to proto: Unknown plugin type org.gradle.api.plugins.JavaBasePlugin$Inject expected enum ORG_GRADLE_API_PLUGINS_JAVABASEPLUGIN$INJECT [ +45 ms] Analytics other plugin to proto: Unknown plugin type FlutterPlugin expected enum FLUTTERPLUGIN [ +15 ms] :app:preBuild (Thread[included builds,5,main]) started. [ +52 ms] > Task :app:preBuild UP-TO-DATE [ +17 ms] Skipping task ':app:preBuild' as it has no actions. [ +15 ms] :app:preBuild (Thread[included builds,5,main]) completed. Took 0.006 secs. [ +52 ms] :app:preDebugBuild (Thread[included builds,5,main]) started. [ +50 ms] > Task :app:preDebugBuild UP-TO-DATE [ +26 ms] Skipping task ':app:preDebugBuild' as it has no actions. [ +1 ms] :app:preDebugBuild (Thread[included builds,5,main]) completed. Took 0.0 secs. [ +1 ms] :app:mergeDebugNativeDebugMetadata (Thread[included builds,5,main]) started. [ +3 ms] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE [ +39 ms] Skipping task ':app:mergeDebugNativeDebugMetadata' as it has no source files and no previous output files. [ +5 ms] :app:mergeDebugNativeDebugMetadata (Thread[included builds,5,main]) completed. Took 0.001 secs. [ +48 ms] :app:compileFlutterBuildDebug (Thread[included builds,5,main]) started. [+1571 ms] > Task :app:compileFlutterBuildDebug [ +20 ms] Caching disabled for task ':app:compileFlutterBuildDebug' because: [ +61 ms] Build cache is disabled [ +47 ms] Task ':app:compileFlutterBuildDebug' is not up-to-date because: [ +5 ms] Task has failed previously. [ +2 ms] Starting process 'command 'C:\src\flutter\bin\flutter.bat''. Working directory: C:\Users\wkt1227\FlutterProjects\flutter_application_1 Command: C:\src\flutter\bin\flutter.bat --quiet assemble --no-version-check --depfile C:\Users\wkt1227\FlutterProjects\flutter_application_1\build\app\intermediates\flutter\debug/flutter_build.d --output C:\Users\wkt1227\FlutterProjects\flutter_application_1\build\app\intermediates\flutter\debug -dTargetFile=C:\Users\wkt1227\FlutterProjects\flutter_application_1\lib\main.dart -dTargetPlatform=android -dBuildMode=debug -dTrackWidgetCreation=true --DartDefines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== debug_android_application [ +45 ms] Successfully started process 'command 'C:\src\flutter\bin\flutter.bat'' [ +183 ms] The system cannot find the path specified. [ +1 ms] The system cannot find the path specified. [ +49 ms] The system cannot find the path specified. [+10233 ms] > Task :app:compileFlutterBuildDebug FAILED [ +2 ms] :app:compileFlutterBuildDebug (Thread[included builds,5,main]) completed. Took 12.579 secs. [ +124 ms] FAILURE: Build failed with an exception. [ +265 ms] * Where: [ +5 ms] Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1159 [ +3 ms] * What went wrong: [ +10 ms] Execution failed for task ':app:compileFlutterBuildDebug'. [ +3 ms] > Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1 [ +33 ms] * Try: [ +27 ms] > Run with --debug option to get more log output. [ +2 ms] > Run with --scan to get full insights. [ +149 ms] * Exception is: [ +49 ms] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileFlutterBuildDebug'. [ +3 ms] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:147) [ +3 ms] at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282) [ +40 ms] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:145) [ +8 ms] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:133) [ +18 ms] at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77) [ +47 ms] at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46) [ +32 ms] at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51) [ +12 ms] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57) [ +4 ms] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56) [ +33 ms] at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36) [ +9 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77) [ +2 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55) [ +22 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52) [ +200 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204) [ +191 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199) [ +220 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ +3 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ +32 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) [ +8 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ +372 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) [ +39 ms] at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) [ +22 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52) [ +3 ms] at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:74) [ +1 ms] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:333) [ +4 ms] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:320) [ +3 ms] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:313) [ +3 ms] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:299) [ +2 ms] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:143) [ +1 ms] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:227) [ +2 ms] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:218) [ +8 ms] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:140) [ +3 ms] at org.gradle.execution.plan.DefaultPlanExecutor.process(DefaultPlanExecutor.java:72) [ +3 ms] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.executeWithServices(DefaultTaskExecutionGraph.java:144) [ +2 ms] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.execute(DefaultTaskExecutionGraph.java:129) [ +8 ms] at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:42) [ +2 ms] at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:51) [ +1 ms] at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor$ExecuteTasks.call(BuildOperationFiringBuildWorkerExecutor.java:54) [ +2 ms] at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor$ExecuteTasks.call(BuildOperationFiringBuildWorkerExecutor.java:43) [ +5 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204) [ +2 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199) [ +4 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ +2 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ +5 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) [ +2 ms] at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) [ +3 ms] at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor.execute(BuildOperationFiringBuildWorkerExecutor.java:40) [ +3 ms] at org.gradle.internal.build.DefaultBuildLifecycleController.lambda$executeTasks$7(DefaultBuildLifecycleController.java:165) [ +2 ms] at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:238) [ +4 ms] at org.gradle.internal.model.StateTransitionController.lambda$tryTransition$8(StateTransitionController.java:174) [ +2 ms] at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44) [ +2 ms] at org.gradle.internal.model.StateTransitionController.tryTransition(StateTransitionController.java:174) [ +4 ms] at org.gradle.internal.build.DefaultBuildLifecycleController.executeTasks(DefaultBuildLifecycleController.java:165) [ +2 ms] at org.gradle.internal.build.DefaultBuildWorkGraphController$DefaultBuildWorkGraph.runWork(DefaultBuildWorkGraphController.java:142) [ +2 ms] at org.gradle.composite.internal.DefaultBuildController.doBuild(DefaultBuildController.java:231) [ +7 ms] at org.gradle.internal.Factories$1.create(Factories.java:31) [ +4 ms] at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:270) [ +1 ms] at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:119) [ +3 ms] at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:124) [ +3 ms] at org.gradle.composite.internal.DefaultBuildController.doRun(DefaultBuildController.java:204) [ +17 ms] at org.gradle.composite.internal.DefaultBuildController.access$000(DefaultBuildController.java:51) [ +5 ms] at org.gradle.composite.internal.DefaultBuildController$BuildOpRunnable.run(DefaultBuildController.java:264) [ +3 ms] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [ +4 ms] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [ +1 ms] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) [ +4 ms] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) [ +2 ms] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [ +4 ms] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [ +7 ms] at java.base/java.lang.Thread.run(Thread.java:829) [ +2 ms] Caused by: org.gradle.process.internal.ExecException: Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1 [ +1 ms] at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:414) [ +3 ms] at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:38) [ +6 ms] at org.gradle.process.internal.DefaultExecActionFactory.exec(DefaultExecActionFactory.java:205) [ +4 ms] at org.gradle.api.internal.project.DefaultProject.exec(DefaultProject.java:1170) [ +3 ms] at org.gradle.api.internal.project.DefaultProject.exec(DefaultProject.java:1165) [ +2 ms] at org.gradle.api.Project$exec$7.call(Unknown Source) [ +3 ms] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) [ +1 ms] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) [ +4 ms] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139) [ +4 ms] at BaseFlutterTask.buildBundle(C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle:1159) [ +2 ms] at BaseFlutterTask$buildBundle.callCurrent(Unknown Source) [ +4 ms] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51) [ +2 ms] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171) [ +2 ms] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:176) [ +2 ms] at FlutterTask.build(C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle:1284) [ +2 ms] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ +5 ms] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [ +2 ms] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ +3 ms] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [ +1 ms] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104) [ +4 ms] at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58) [ +4 ms] at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51) [ +2 ms] at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29) [ +2 ms] at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:242) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29) [ +3 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ +6 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ +2 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) [ +3 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ +2 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68) [ +3 ms] at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:227) [ +10 ms] at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:210) [ +1 ms] at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:193) [ +9 ms] at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:171) [ +2 ms] at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89) [ +2 ms] at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40) [ +2 ms] at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53) [ +1 ms] at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50) [ +11 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204) [ +2 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199) [ +15 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ +12 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ +3 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) [ +4 ms] at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) [ +3 ms] at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:50) [ +2 ms] at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:40) [ +5 ms] at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:68) [ +5 ms] at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:38) [ +3 ms] at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48) [ +2 ms] at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:36) [ +2 ms] at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41) [ +7 ms] at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74) [ +3 ms] at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55) [ +1 ms] at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51) [ +6 ms] at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:29) [ +2 ms] at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:61) [ +3 ms] at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:42) [ +3 ms] at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:60) [ +4 ms] at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:27) [ +6 ms] at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:180) [ +2 ms] at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:75) [ +3 ms] at org.gradle.internal.Either$Right.fold(Either.java:175) [ +3 ms] at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59) [ +3 ms] at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:73) [ +1 ms] at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:48) [ +5 ms] at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:36) [ +7 ms] at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:25) [ +2 ms] at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36) [ +10 ms] at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22) [ +3 ms] at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:110) [ +20 ms] at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:56) [ +8 ms] at java.base/java.util.Optional.orElseGet(Optional.java:369) [ +5 ms] at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:56) [ +2 ms] at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38) [ +8 ms] at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:73) [ +3 ms] at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:44) [ +3 ms] at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37) [ +23 ms] at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27) [ +20 ms] at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:89) [ +155 ms] at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:50) [ +10 ms] at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:114) [ +37 ms] at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:57) [ +1 ms] at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:76) [ +1 ms] at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:50) [ +7 ms] at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNoEmptySources(SkipEmptyWorkStep.java:249) [ +2 ms] at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:86) [ +4 ms] at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:54) [ +1 ms] at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:32) [ +2 ms] at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:21) [ +8 ms] at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38) [ +15 ms] at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:43) [ +3 ms] at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:31) [ +2 ms] at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40) [ +4 ms] at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:287) [ +9 ms] at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40) [ +6 ms] at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30) [ +9 ms] at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37) [ +20 ms] at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27) [ +60 ms] at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:44) [ +45 ms] at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:33) [ +38 ms] at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76) [ +23 ms] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:144) [ +27 ms] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:133) [ +2 ms] at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77) [ +2 ms] at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46) [ +45 ms] at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51) [ +3 ms] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57) [ +66 ms] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56) [ +13 ms] at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36) [ +1 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77) [ +3 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55) [ +6 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52) [ +39 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204) [ +4 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199) [ +8 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ +3 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ +3 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) [ +11 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ +3 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) [ +6 ms] at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) [ +22 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52) [ +2 ms] at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:74) [ +9 ms] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:333) [ +3 ms] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:320) [ +7 ms] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:313) [ +8 ms] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:299) [ +3 ms] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:143) [ +1 ms] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:227) [ +2 ms] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:218) [ +5 ms] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:140) [ +4 ms] at org.gradle.execution.plan.DefaultPlanExecutor.process(DefaultPlanExecutor.java:72) [ +2 ms] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.executeWithServices(DefaultTaskExecutionGraph.java:144) [ +1 ms] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.execute(DefaultTaskExecutionGraph.java:129) [ +1 ms] at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:42) [ +5 ms] at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:51) [ +4 ms] at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor$ExecuteTasks.call(BuildOperationFiringBuildWorkerExecutor.java:54) [ +2 ms] at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor$ExecuteTasks.call(BuildOperationFiringBuildWorkerExecutor.java:43) [ +2 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204) [ +3 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199) [ +9 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ +2 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ +2 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) [ +28 ms] at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) [ +31 ms] at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor.execute(BuildOperationFiringBuildWorkerExecutor.java:40) [ +5 ms] at org.gradle.internal.build.DefaultBuildLifecycleController.lambda$executeTasks$7(DefaultBuildLifecycleController.java:165) [ +7 ms] at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:238) [ +21 ms] at org.gradle.internal.model.StateTransitionController.lambda$tryTransition$8(StateTransitionController.java:174) [ +35 ms] at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44) [ +2 ms] at org.gradle.internal.model.StateTransitionController.tryTransition(StateTransitionController.java:174) [ +33 ms] at org.gradle.internal.build.DefaultBuildLifecycleController.executeTasks(DefaultBuildLifecycleController.java:165) [ +76 ms] at org.gradle.internal.build.DefaultBuildWorkGraphController$DefaultBuildWorkGraph.runWork(DefaultBuildWorkGraphController.java:142) [ +5 ms] at org.gradle.composite.internal.DefaultBuildController.doBuild(DefaultBuildController.java:231) [ +6 ms] at org.gradle.internal.Factories$1.create(Factories.java:31) [ +2 ms] at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:270) [ +3 ms] at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:119) [ +1 ms] at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:124) [ +8 ms] at org.gradle.composite.internal.DefaultBuildController.doRun(DefaultBuildController.java:204) [ +4 ms] at org.gradle.composite.internal.DefaultBuildController.access$000(DefaultBuildController.java:51) [ +2 ms] at org.gradle.composite.internal.DefaultBuildController$BuildOpRunnable.run(DefaultBuildController.java:264) [ +17 ms] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [ +2 ms] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [ +10 ms] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) [ +2 ms] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) [ +2 ms] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [ +2 ms] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [ +8 ms] at java.base/java.lang.Thread.run(Thread.java:829) [ +4 ms] * Get more help at https://help.gradle.org [ +11 ms] BUILD FAILED in 22s [ +3 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. [ +2 ms] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. [ +8 ms] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings [ +3 ms] 1 actionable task: 1 executed [ +1 ms] Watched directory hierarchies: [] [ +416 ms] Running Gradle task 'assembleDebug'... (completed in 29.3s) [+17969 ms] Exception: Gradle task assembleDebug failed with exit code 1 [ +9 ms] "flutter run" took 51,146ms. [ +14 ms] #0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3) #1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:713:9) #2 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1209:27) #3 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) #4 CommandRunner.runCommand (package:args/command_runner.dart:209:13) #5 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9) #6 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) #7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5) #8 run.. (package:flutter_tools/runner.dart:62:9) #9 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) #10 main (package:flutter_tools/executable.dart:91:3) [ +162 ms] ensureAnalyticsSent: 145ms [ +4 ms] Running shutdown hooks [ +3 ms] Shutdown hooks complete [ +3 ms] exiting with code 1 PS C:\Users\wkt1227\FlutterProjects\flutter_application_1> ```
``` PS C:\Users\wkt1227\FlutterProjects\flutter_application_1> flutter doctor -v The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. [√] Flutter (Channel stable, 3.3.9, on Windows, locale en-AE) • Flutter version 3.3.9 on channel stable at C:\src\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision b8f7f1f986 (3 weeks ago), 2022-11-23 06:43:51 +0900 • Engine revision 8f2221fbef • Dart version 2.18.5 • DevTools version 2.15.0 [√] Android toolchain - develop for Android devices (Android SDK version 33.0.1) • Android SDK at C:\Users\wkt1227\AppData\Local\Android\sdk • Platform android-33, build-tools 33.0.1 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe [√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.3) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.4.33205.214 • Windows 10 SDK version 10.0.22000.0 [√] Android Studio (version 2021.3) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) [√] VS Code (version 1.74.0) • VS Code at C:\Users\wkt1227\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.54.0 [√] Connected device (4 available) • SH 41A (mobile) • 354958112128161 • android-arm64 • Android 12 (API 31) • Windows (desktop) • windows • windows-x64 • Windows • Chrome (web) • chrome • web-javascript • Google Chrome 108.0.5359.99 • Edge (web) • edge • web-javascript • Microsoft Edge 107.0.1418.24 [√] HTTP Host Availability • All required HTTP hosts are available • No issues found! PS C:\Users\wkt1227\FlutterProjects\flutter_application_1> ```