Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 构建失败,在颤振-';dart:html';_Flutter_Google Cloud Firestore_Import_Dependencies_Yaml - Fatal编程技术网

Flutter 构建失败,在颤振-';dart:html';

Flutter 构建失败,在颤振-';dart:html';,flutter,google-cloud-firestore,import,dependencies,yaml,Flutter,Google Cloud Firestore,Import,Dependencies,Yaml,我的应用程序运行良好,但现在我遇到了以下问题: FAILURE: Build failed with an exception. * Where: Script '/Users/username/Flutter/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 991 it doesn't find dart html???? Execution failed for task ':app:compileFlutterBu

我的应用程序运行良好,但现在我遇到了以下问题:

FAILURE: Build failed with an exception.

* Where:
Script '/Users/username/Flutter/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 991

it doesn't find dart html????
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/Users/deejaymk/Flutter/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 27s
Exception: Gradle task assembleDebug failed with exit code 1
我的yaml:

dependencies:
  flutter:
    sdk: flutter
  flutter_form_builder: ^5.0.0
  google_fonts: ^1.0.0
  url_launcher: ^6.0.3
  firebase_auth: ^0.14.0+5
  cloud_firestore: ^0.12.9+4

检查您的文件是否有
导入:dart.html
如果您发现它,请删除它

欢迎使用SO,请发布
颤振构建apk--v
的输出,谢谢!我已经删除了它,但现在我有一个问题:你面临什么问题?谢谢!这有帮助!现在它工作得很好!事实上,我正在尝试从firebase获取用户UID…似乎我在这方面遇到了一些困难。也许我在代码中犯了一个错误…现在它似乎工作良好,注册。用户uid我将检查stackoverflow。将此标记为answer并向用户uid发送另一条消息我将尝试回答