Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Build failing when using ffmpeg_kit_flutter: ^6.0.3 or any other version #1091

Open
NeelPoriya opened this issue Dec 30, 2024 · 0 comments
Open

Comments

@NeelPoriya
Copy link

Description
I am testing out ffmpeg in a new flutter app, but flutter run seems to be failing with the following issue:

[ +1 ms] Custom actions are attached to task':ffmpeg_kit_flutter:compileDebugJavaWithJavac'. [ ] Caching disabled for task ':ffmpeg_kit_flutter:compileDebugJavaWithJavac' because: [ ] Build cache is disabled [ ] Task ':ffmpeg_kit_flutter:compileDebugJavaWithJavac' is not up-to-date because: [ ] Task has failed previously. [ ] The input changes require a full rebuild for incremental task ':ffmpeg_kit_flutter:compileDebugJavaWithJavac'. [ ] Java compiler version 21 has deprecated support for compiling with source/target version 8. [ ] Try one of the following options: [ ] 1. [Recommended] Use Java toolchain with a lower language version [ ] 2. Set a higher source/target version [ ] 3. Use a lower version of the JDK running the build (if you're not using Java toolchain) [ ] For more details on how to configure these settings, see https://developer.android.com/build/jdks. [ ] To suppress this warning, set android.javaCompile.suppressSourceTargetDeprecationWarning=true in gradle.properties. [ ] Compilation mode: in-process compilation [ ] Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments. [ ] Compiling with toolchain 'C:\Program Files\Android\Android Studio\jbr'. [ ] file or directory 'C:\Users\neelporiya\AppData\Local\Pub\Cache\hosted\pub.dev\ffmpeg_kit_flutter-6.0.3\android\src\debug\java', not found [ ] Compiling with JDK Java compiler API. [ +5 ms] warning: [options] source value 8 is obsolete and will be removed in a future release [ +1 ms] warning: [options] target value 8 is obsolete and will be removed in a future release [ ] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [ ] C:\Users\neelporiya\AppData\Local\Pub\Cache\hosted\pub.dev\ffmpeg_kit_flutter-6.0.3\android\src\main\java\com\arth enica\ffmpegkit\flutter\FFmpegKitFlutterPlugin.java:157: error: cannot find symbol [ ] public static void registerWith(final io.flutter.plugin.common.PluginRegistry.Registrar registrar) { [ +1 ms] ^ [ ] symbol: class Registrar [ +1 ms] location: interface PluginRegistry [ +3 ms] C:\Users\neelporiya\AppData\Local\Pub\Cache\hosted\pub.dev\ffmpeg_kit_flutter-6.0.3\android\src\main\java\com\arth enica\ffmpegkit\flutter\FFmpegKitFlutterPlugin.java:651: error: cannot find symbol [ +2 ms] protected void init(final BinaryMessenger messenger, final Context context, final Activity activity, final io.flutter.plugin.common.PluginRegistry.Registrar registrar, final ActivityPluginBinding activityBinding) { [ +1 ms] ^ [ +1 ms] symbol: class Registrar [ ] location: interface PluginRegistry [ +2 ms] 2 errors [ ] 3 warnings [ +1 ms] FAILURE: Build failed with an exception. [ +1 ms] * What went wrong: [ ] Execution failed for task ':ffmpeg_kit_flutter:compileDebugJavaWithJavac'. [ +1 ms] > Compilation failed; see the compiler error output for details. [ +2 ms] * Try: [ +1 ms] > Run with --scan to get full insights. [ +1 ms] * Exception is: [ +1 ms] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':ffmpeg_kit_flutter:compileDebugJavaWithJavac'. [ ] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecu ter.java:130) [ +2 ms] at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:293) [ +1 ms] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java: 128) [ +2 ms] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:116) [ ] at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java :46) [ ] at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter. java:51) [ ] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:5 7) [ ] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74) [ ] 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) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperat ionRunner.java:209) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperat ionRunner.java:204) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) [ ] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52) [ ] at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGra ph.java:331) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGra ph.java:318) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(Defau ltTaskExecutionGraph.java:314) [ ] at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:85) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExe cutionGraph.java:314) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExe cutionGraph.java:303) [ ] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:459) [ +4 ms] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:376) [ ] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) [ ] at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:48) [ ] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [ +1 ms] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [ +1 ms] at java.base/java.lang.Thread.run(Unknown Source) [ +1 ms] Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details. [ +1 ms] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:79) [ +1 ms] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:46) [ +1 ms] at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java :98) [ +3 ms] at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:52) [ +3 ms] at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38) [ +1 ms] at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoverin gCompiler.java:52) [ +1 ms] at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoverin gCompiler.java:38) [ +1 ms] at org.gradle.api.internal.tasks.compile.ModuleApplicationNameWritingCompiler.execute(ModuleApplicationNameWritingCom piler.java:46) [ ] at org.gradle.api.internal.tasks.compile.ModuleApplicationNameWritingCompiler.execute(ModuleApplicationNameWritingCom piler.java:36) [ +3 ms] at org.gradle.jvm.toolchain.internal.DefaultToolchainJavaCompiler.execute(DefaultToolchainJavaCompiler.java:57) [ +1 ms] at org.gradle.api.tasks.compile.JavaCompile.lambda$createToolchainCompiler$3(JavaCompile.java:204) [ +4 ms] at org.gradle.api.internal.tasks.compile.CleaningJavaCompiler.execute(CleaningJavaCompiler.java:53) [ +4 ms] at org.gradle.api.internal.tasks.compile.incremental.IncrementalCompilerFactory.lambda$createRebuildAllCompiler$0(Inc rementalCompilerFactory.java:52) [ +2 ms] at org.gradle.api.internal.tasks.compile.incremental.SelectiveCompiler.execute(SelectiveCompiler.java:70) [ +1 ms] at org.gradle.api.internal.tasks.compile.incremental.SelectiveCompiler.execute(SelectiveCompiler.java:44) [ +1 ms] at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStorin gCompiler.java:66) [ +1 ms] at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStorin gCompiler.java:52) [ ] at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$1.call(CompileJavaBuildOperationR eportingCompiler.java:64) [ ] at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$1.call(CompileJavaBuildOperationR eportingCompiler.java:48) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperat ionRunner.java:209) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperat ionRunner.java:204) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) [ ] at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler.execute(CompileJavaBuildOperation ReportingCompiler.java:48) [ ] at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:222) [ ] at org.gradle.api.tasks.compile.JavaCompile.performIncrementalCompilation(JavaCompile.java:163) [ ] at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:148) [ ] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) [ ] at java.base/java.lang.reflect.Method.invoke(Unknown Source) [ ] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125) [ ] at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:45) [ +1 ms] at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51) [ +4 ms] at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.execute(IncrementalTaskAction.java:26) [ ] at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29) [ ] at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:244) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47) [ ] at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:229) [ ] at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:212) [ ] at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:195) [ +1 ms] at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:162) [ ] at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:105) [ ] at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44) [ ] at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:59) [ ] at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:56) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperat ionRunner.java:209) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperat ionRunner.java:204) [ +1 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) [ +2 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) [ +2 ms] at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:56) [ +1 ms] at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:44) [ ] at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:42) [ +2 ms] at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:75) [ ] at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55) [ +1 ms] at org.gradle.internal.execution.steps.PreCreateOutputParentsStep.execute(PreCreateOutputParentsStep.java:50) [ +2 ms] at org.gradle.internal.execution.steps.PreCreateOutputParentsStep.execute(PreCreateOutputParentsStep.java:28) [ +2 ms] at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:67) [ +1 ms] at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:37) [ +1 ms] at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:61) [ ] at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:26) [ ] at org.gradle.internal.execution.steps.CaptureOutputsAfterExecutionStep.execute(CaptureOutputsAfterExecutionStep.java :69) [ ] at org.gradle.internal.execution.steps.CaptureOutputsAfterExecutionStep.execute(CaptureOutputsAfterExecutionStep.java :46) [ ] at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:40) [ ] at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:29) [ ] at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:189) [ ] at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:75) [ ] at org.gradle.internal.Either$Right.fold(Either.java:175) [ ] at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:62) [ ] at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:73) [ ] at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:48) [ ] at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:46) [ ] at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:35) [ +1 ms] at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:75) [ ] at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:53) [ ] at java.base/java.util.Optional.orElseGet(Unknown Source) [ ] at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:53) [ ] at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:35) [ +1 ms] at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinish edStep.java:37) [ ] at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinish edStep.java:27) [ ] at org.gradle.internal.execution.steps.ResolveIncrementalCachingStateStep.executeDelegate(ResolveIncrementalCachingSt ateStep.java:49) [ ] at org.gradle.internal.execution.steps.ResolveIncrementalCachingStateStep.executeDelegate(ResolveIncrementalCachingSt ateStep.java:27) [ ] at org.gradle.internal.execution.steps.AbstractResolveCachingStateStep.execute(AbstractResolveCachingStateStep.java:7 1) [ ] at org.gradle.internal.execution.steps.AbstractResolveCachingStateStep.execute(AbstractResolveCachingStateStep.java:3 9) [ ] at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:65) [ ] at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:36) [ ] at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:107) [ ] at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:56) [ ] at org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep.execute(AbstractCaptureStateBeforeExec utionStep.java:64) [ ] at org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep.execute(AbstractCaptureStateBeforeExec utionStep.java:43) [ ] at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.executeWithNonEmptySources(AbstractSkipEmptyWorkStep .java:125) [ ] at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.execute(AbstractSkipEmptyWorkStep.java:61) [ ] at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.execute(AbstractSkipEmptyWorkStep.java:36) [ ] at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStarted Step.java:38) [ ] at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:36) [ ] at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:23) [ ] at org.gradle.internal.execution.steps.HandleStaleOutputsStep.execute(HandleStaleOutputsStep.java:75) [ ] at org.gradle.internal.execution.steps.HandleStaleOutputsStep.execute(HandleStaleOutputsStep.java:41) [ ] at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.lambda$execute$0(AssignMutableWorkspaceStep.java:35 ) [ ] at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:289) [ ] at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.execute(AssignMutableWorkspaceStep.java:31) [ ] at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.execute(AssignMutableWorkspaceStep.java:22) [ ] at org.gradle.internal.execution.steps.ChoosePipelineStep.execute(ChoosePipelineStep.java:40) [ ] at org.gradle.internal.execution.steps.ChoosePipelineStep.execute(ChoosePipelineStep.java:23) [ ] at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.lambda$execute$2(ExecuteWorkBuildOperation FiringStep.java:67) [ ] at java.base/java.util.Optional.orElseGet(Unknown Source) [ ] at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringSte p.java:67) [ +1 ms] at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringSte p.java:39) [ ] at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:46) [ ] at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:34) [ ] at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:48) [ ] at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:35) [ ] at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:61) [ ] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java: 127) [ ] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:116) [ +1 ms] at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java :46) [ +1 ms] at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter. java:51) [ +2 ms] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:5 7) [ +2 ms] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74) [ +2 ms] at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36) [ +3 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77) [ +1 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55) [ +1 ms] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperat ionRunner.java:209) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperat ionRunner.java:204) [ +1 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) [ ] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) [ +1 ms] at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) [ ] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52) [ ] at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGra ph.java:331) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGra ph.java:318) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(Defau ltTaskExecutionGraph.java:314) [ +1 ms] at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:85) [ +1 ms] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExe cutionGraph.java:314) [ ] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExe cutionGraph.java:303) [ ] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:459) [ ] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:376) [ ] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) [ ] at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:48) [ ] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [ ] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [ ] at java.base/java.lang.Thread.run(Unknown Source) [ +1 ms] BUILD FAILED in 9s [ ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. [ ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. [ ] For more on this, please refer to https://docs.gradle.org/8.10.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. [ ] 36 actionable tasks: 5 executed, 31 up-to-date [ ] Watched directory hierarchies: [C:\Program Files\flutter\packages\flutter_tools\gradle, C:\projects\test_ffmpeg\android] [ +59 ms] Running Gradle task 'assembleDebug'... (completed in 9.8s) [ +108 ms] Error: Gradle task assembleDebug failed with exit code 1 [ +5 ms] "flutter run" took 12,218ms. [ +82 ms] #0 throwToolExit (package:flutter_tools/src/base/common.dart:34:3) #1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:855:9) #2 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1422:27) #3 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19) #4 CommandRunner.runCommand (package:args/command_runner.dart:212:13) #5 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:443:9) #6 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19) #7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:386:5) #8 run.. (package:flutter_tools/runner.dart:112:9) #9 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19) #10 main (package:flutter_tools/executable.dart:94:3)

[ +48 ms] ensureAnalyticsSent: 20ms
[ ] Running 3 shutdown hooks
[ +6 ms] Shutdown hooks complete
[ +38 ms] exiting with code 1

Output of flutter doctor:

` [√] Flutter (Channel master, 3.28.0-1.0.pre.125, on Microsoft Windows [Version 10.0.26100.2605], locale en-US) [√] Windows Version (11 Enterprise 64-bit, 24H2, 2009) [√] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [√] Chrome - develop for the web [√] Visual Studio - develop Windows apps (Visual Studio Enterprise 2022 17.11.6) [√] Android Studio (version 2024.2) [√] VS Code, 64-bit edition (version unknown) X Unable to determine VS Code version. [√] VS Code (version 1.97.0-insider) [√] Connected device (4 available) [√] Network resources ` • No issues found!

Flutter run output:
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant