以下是错误:
Launching lib/main.dart on HTC Desire 820G PLUS dual sim in debug mode...
Initializing gradle... 1.1s
Resolving dependencies... 2.0s
Unhandled exception:
Crash when compiling package:hello_world/main.dart,
at character offset null:
null:4314624: indicated size does not match file size at
#0 BinaryBuilder.fail (package:kernel/binary/ast_from_binary.dart:98:5)
#1 BinaryBuilder._indexComponents (package:kernel/binary/ast_from_binary.dart:425:15)
#2 BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:453:36)
#3 ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:391:10)
#4 ProcessedOptions.loadSdkSummary (package:front_end/src/base/processed_options.dart:329:32)
<asynchronous suspension>
#5 generateKernelInternal.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:71:36)
<asynchronous suspension>
#6 withCrashReporting (package:front_end/src/fasta/crash.dart:122:24)
<asynchronous suspension>
#7 generateKernelInternal (package:front_end/src/kernel_generator_impl.dart:58:10)
<asynchronous suspension>
#8 kernelForProgram.<anonymous closure> (package:front_end/src/api_prototype/kernel_generator.dart:48:28)
<asynchronous suspension>
#9 CompilerContext.runWithOptions.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:134:20)
<asynchronous suspension>
#10 CompilerContext.runInContext.<anonymous closure>.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:122:46)
#11 new Future.sync (dart:async/future.dart:224:31)
#12 CompilerContext.runInContext.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:122:19)
#13 _rootRun (dart:async/zone.dart:1124:13)
#14 _CustomZone.run (dart:async/zone.dart:1021:19)
#15 _runZoned (dart:async/zone.dart:1516:10)
#16 runZoned (dart:async/zone.dart:1463:12)
#17 CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:121:12)
#18 CompilerContext.runWithOptions (package:front_end/src/fasta/compiler_context.dart:132:10)
#19 kernelForProgram (package:front_end/src/api_prototype/kernel_generator.dart:47:32)
<asynchronous suspension>
#20 compileToKernel (package:vm/kernel_front_end.dart:309:27)
<asynchronous suspension>
#21 FrontendCompiler.compile.<anonymous closure> (package:vm/frontend_server.dart:359:56)
#22 new Future.<anonymous closure> (dart:async/future.dart:176:37)
#23 _rootRun (dart:async/zone.dart:1120:38)
#24 _CustomZone.run (dart:async/zone.dart:1021:19)
#25 _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#26 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#27 _rootRun (dart:async/zone.dart:1124:13)
#28 _CustomZone.run (dart:async/zone.dart:1021:19)
#29 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#30 Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:21:15)
#31 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19)
#32 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5)
#33 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
#0 BinaryBuilder.fail (package:kernel/binary/ast_from_binary.dart:98:5)
#1 BinaryBuilder._indexComponents (package:kernel/binary/ast_from_binary.dart:425:15)
#2 BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:453:36)
#3 ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:391:10)
#4 ProcessedOptions.loadSdkSummary (package:front_end/src/base/processed_options.dart:329:32)
<asynchronous suspension>
#5 generateKernelInternal.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:71:36)
<asynchronous suspension>
#6 withCrashReporting (package:front_end/src/fasta/crash.dart:122:24)
<asynchronous suspension>
#7 generateKernelInternal (package:front_end/src/kernel_generator_impl.dart:58:10)
<asynchronous suspension>
#8 kernelForProgram.<anonymous closure> (package:front_end/src/api_prototype/kernel_generator.dart:48:28)
<asynchronous suspension>
#9 CompilerContext.runWithOptions.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:134:20)
<asynchronous suspension>
#10 CompilerContext.runInContext.<anonymous closure>.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:122:46)
#11 new Future.sync (dart:async/future.dart:224:31)
#12 CompilerContext.runInContext.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:122:19)
#13 _rootRun (dart:async/zone.dart:1124:13)
#14 _CustomZone.run (dart:async/zone.dart:1021:19)
#15 _runZoned (dart:async/zone.dart:1516:10)
#16 runZoned (dart:async/zone.dart:1463:12)
#17 CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:121:12)
#18 CompilerContext.runWithOptions (package:front_end/src/fasta/compiler_context.dart:132:10)
#19 kernelForProgram (package:front_end/src/api_prototype/kernel_generator.dart:47:32)
<asynchronous suspension>
#20 compileToKernel (package:vm/kernel_front_end.dart:309:27)
<asynchronous suspension>
#21 FrontendCompiler.compile.<anonymous closure> (package:vm/frontend_server.dart:359:56)
#22 new Future.<anonymous closure> (dart:async/future.dart:176:37)
#23 _rootRun (dart:async/zone.dart:1120:38)
#24 _CustomZone.run (dart:async/zone.dart:1021:19)
#25 _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#26 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#27 _rootRun (dart:async/zone.dart:1124:13)
#28 _CustomZone.run (dart:async/zone.dart:1021:19)
#29 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#30 Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:21:15)
#31 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19)
#32 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5)
#33 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
Compiler failed on /home/sagar/Documents/aviabird/hello_world/lib/main.dart
FAILURE: Build failed with an exception.
* Where:
Script '/home/sagar/development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 665
* What went wrong:
Execution failed for task ':app:compileflutterBuildDebugArm'.
> Process 'command '/home/sagar/development/flutter/bin/flutter'' finished with non-zero exit value 1
* 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
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 3.0s
Gradle task assembleDebug failed with exit code 1
扑动医生输出:
[]Flutter(Channel stable,v1.7.8+Hotfix.4,在Linux上,locale en_IN)•Flutter版本1.7.8+Hotfix.4,在/home/sagar/development/Flutter•Framework修订版20E59316B8(两周前),2019-07-18 20:04:33-0700•Engine修订版fee001c93f•Dart版本2.4.0
•未发现任何问题!
安装flutter的缓存文件夹似乎坏了。
您可以在Terminal命令行中执行以下步骤:
rm-rf/users/XXX/flutter/bin/cache
(XXX是Mac用户)
运行安装脚本后,服务器启动并提供一个页面,在“未能编译行”之后显示相同的文本。 我正在运行Windows10和自动更新刚刚更新了我的电脑今天,就在我做创建-反应-快速安装之前。
这是我在这里的第一篇文章,所以如果我的风格是错误的,我道歉! 我一直在尝试使用python 3.6在Ubuntu 16.04上安装mpi4py(因为SU2要求并行处理)。我下载了mpi4pi并尝试从源代码构建,因为我想使用我配置的OpenMPI库,并尝试了以下操作: 但是,它最终会失败,并出现“错误:无法链接MPI程序。检查您的配置!!!” 查看 SU2 和 mpi4py 文档,他们建议使用 pi
我是个初学者,如果这是个垃圾问题,我很抱歉。 我该如何解决这个问题?我没有安装的应用程序了,所以我不知道它如何不能与以前安装的版本匹配。
我正在做一个需要在mac上运行CGAL的项目,一般来说对C来说是非常新的。我使用命令使用macport安装了CGAL 我把教程复制到了一个。cpp文件,并使用 这将返回错误 ld:library not found for-lcgal clang:error:linker命令失败,退出代码为1(使用-v查看调用) 苹果LLVM 5.1版(clang-503.0.40)(基于LLVM 3.4svn)
我无法通过Android Studio或手动复制APK在我的联想Phab PLUS(联想PB-1 770M,Android 5.1.1 API 22)上安装我的应用程序。 通过Android Studio:我得到错误失败安装APK[INSTALL_FAILED_DEXOPT]。它提示我,手机上可能有一个现有的应用程序,带有相同的过时的德克斯罐包,并提示我卸载现有的应用程序。然而,当我继续"是",它
null 脚本'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle'行:838 出了什么问题: 任务“:app:CompileFlutterBuildreLease”执行失败。 null null 应用程序:Build.Gradle