Flutter创建应用程序未构建

时间:2020-01-25 13:21:38

标签: flutter

我不熟悉移动开发。创建应用程序

flutter create <app>

flutter run

Running "flutter pub get" in flutter_app...                         9.9s
Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling
software rendering with "--enable-software-rendering".
Launching lib\main.dart on Android SDK built for x86 in debug mode...
[!] Your app isn't using AndroidX.
    To avoid potential build failures, you can quickly migrate your app by following the steps on https://flutter.dev/docs/development/androidx-migration.
Target kernel_snapshot failed: FileSystemException: read failed, path = 'C:\flutter\packages\flutter\lib\src\gestures\multitap.dart' (OS Error: Data error (cyclic redundancy check).
, errno = 23)
build failed.

FAILURE: Build failed with an exception.

* Where:
Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 780

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'C:\flutter\bin\flutter.bat'' 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.

BUILD FAILED in 1m 5s
Running Gradle task 'assembleDebug'...

如何解决multitap.dart问题?

操作系统错误:数据错误(循环冗余校验)

0 个答案:

没有答案