简体   繁体   English

当我想运行我的颤振/飞镖应用程序时,它给了我很多错误

[英]when i want to run my flutter/dart app it give me tons of error

when I want to run my app on the avd simulator it gives me tons of error this is my last error please help当我想在 avd 模拟器上运行我的应用程序时,它给了我很多错误这是我的最后一个错误请帮助

at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:98)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.execute(NoIsolationWorkerFactory.java:61)
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
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.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:56)
at org.gradle.workers.internal.DefaultWorkerExecutor$3.call(DefaultWorkerExecutor.java:215)
at org.gradle.workers.internal.DefaultWorkerExecutor$3.call(DefaultWorkerExecutor.java:210)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:215)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:131)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
at java.lang.Thread.run(Thread.java:748)

2 2

FAILURE: Build failed with an exception. FAILURE:构建失败并出现异常。

  • What went wrong: Execution failed for task ':app:mergeExtDexDebug'.出了什么问题:任务“:app:mergeExtDexDebug”执行失败。

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade java.nio.file.NoSuchFileException: D:\Downloads\medicalak\build\app\intermediates\external_file_lib_dex_archives\debug\out A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade java.nio.file.NoSuchFileException: D:\Downloads\medicalak\build\app\intermediates\external_file_lib_dex_archives\debug\out

  • Try: Run with --stack trace option to get the stack trace.尝试:使用 --stack trace 选项运行以获取堆栈跟踪。 Run with --info or --debug option to get more log output.使用 --info 或 --debug 选项运行以获得更多日志 output。 Run with --scan to get full insights.运行 --scan 以获得完整的见解。

  • Get more help at https://help.gradle.orghttps://help.gradle.org获得更多帮助

BUILD FAILED in 5s Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm) BUILD FAILED in 5s Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm)

go to android/app/build.gradle and add below lines ie multiDexEnabled true go 到android/app/build.gradle并添加以下行,即multiDexEnabled true

    android {
      defaultConfig {
         multiDexEnabled true
      }
    }

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当我在AVD中运行我的android应用时,它给我一个错误 - When I run my android app in the AVD it gives me an error 运行 flutter 应用程序时如何解决“dart:ui”错误? - How to solved 'dart:ui' error when going to run flutter app? 当我在移动设备上运行我的 android 应用程序时,它给了我这个错误,请指导我这个错误 - When I run my android app on mobile it gives me that error, please guide me about that error 每次我运行任何应用程序时,Flutter 都会给我错误 - Flutter gives me error everytime i run any app 当我想在 Flutter 中调试我的应用程序时遇到问题 - I have problem when I want debug my app in Flutter 当我在api大于19的设备上运行我的应用程序时,出现错误 - when I run my app on device having api greater then 19 it gives me error 当我尝试在 android studio 上运行我的颤振应用程序时,请一直收到此错误 - Please I keep getting this error when I try to run my flutter app on android studio flutter 和 dart 的新手,通过创建世界时间应用程序来创建初学者项目,但是当我运行代码时会发生这种情况 - new to flutter and dart, creating a beginners project by creating a world time app but this happens when i run the code 我想使我的Android应用程序成为最小的API8。该文档为我提供API 8中不可用的功能。 - I want to make my Android app min API 8. The docs give me functions that are not available in API 8. Where should I look? 当我运行任何应用程序时,程序给我一个错误 - When I run any App the program gives me a error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM