我正在使用Flick2.10.0运行我的桌面应用程序,并获得此错误类型。
以下是我的颤栗医生的输出:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.10.0, on Microsoft Windows [Version 10.0.19044.1766],
locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[√] Chro
我正在尝试使用image_picker包从图库中选择一个图像,无论发生什么,这个错误都会持续存在。解决方案iv'e已经尝试过
targetSdkVersionDowngrading 终止、清洗、重新运行、重新启动IDE和重新启动PC更改compileSdkVersion和compileSdkVersion包版本
Unhandled Exception: MissingPluginException(No implementation found for method pickImage on channel plugins.flutter.io/image_picker)
E/flut
body: const Center(
// Center is a layout widget. It takes a single child and positions it
// in the middle of the parent.
child: WebView(
initialUrl: "https://xxxx",
navigationDelegate: (navigation) {
return NavigationDecision.navigat
我正在开发flutter中的一个应用程序,一切都运行得很好,突然有一天,当我试图运行该应用程序时,它给了我这个错误: /C:/sdk%20Flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_speed_dial-1.2.5/lib/src/speed_dial.dart:249:7: Error: No named parameter with the name 'overflow'.
overflow: Overflow.visible,
^^^^^^^^
/C:/sdk%20Flu
我已经使用代码生成包几个月了,今天我在我的一个项目上运行了命令"flutter pub run build_runner build“,一切都是构建的,然后当我再次运行它时,我得到了这个错误。 /C:/Users/MyPc/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-1.5.0/liib/src/error/best_practices_verifier.dart:1978:14: Error: A non-null value must ber returned since the return type
我只是向pubspec.yaml添加了新的依赖项,它是firebase_admob: ^0.8.0+3,但添加它后,我的应用程序在启动时崩溃。 这是我的其他依赖项,有什么好解决的吗? dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style i
我创建了一个新的flutter项目,当运行它时,它会给出这个错误 Target kernel_snapshot failed: Exception: The value of -DDartDefines is not formatted correctly.
The value must be a JSON-encoded list of strings but was:
[flutter.inspector.structuredErrors=true]
build failed.
FAILURE: Build failed with an exception.
* Where:
Scr
由于任意线路的每个版本都依赖于permission_handler ^5.0.1+1,而发动机门依赖于permission_handler ^8.3.0,因此禁止使用任何线路。因此,由于电动门依赖于任何线路^24.0.0-dev.1,版本解决失败。发布失败(1;因此,因为电动门依赖于任何线路^24.0.0-dev.1,版本解决失败)。
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the C
所以,我刚刚下载了在Flutter上制作的一个在线应用程序的源代码。我设置了所有的东西,但是只要我在终端中输入"flutter run“,我就会得到这个错误。
The current Flutter SDK version is 1.9.1+hotfix.6.
Because flutter_provider_app depends on cached_network_image >=2.0.0-rc which requires Flutter SDK version >=1.10.15-pre.148 <
两天前,我升级到了Flate2.0,并开始面对一些软件包带来的Execution failed for task ':app:compileFlutterBuildDebug'。
然后我降级了,但错误依然存在。我的pubspec.yaml看起来像下面,
name: news_app
description: A news app
# The following defines the version and build number for your application.
# A version number is three numbers separated by d
当尝试在dev_dependencies中实现颤振集成测试时,在运行pub get时,输出的是集成测试颤振依赖版本与其他插件不兼容。我得到了下一个错误:
[-] flutter pub get
Running "flutter pub get" in --...
Because no versions of test_coverage_badge match >0.2.0 <0.3.0 and test_coverage_badge 0.2.0 depends on args ^2.0.0, test_coverage_
我一直收到同样的信息,我不知道如何解决这个问题。任何帮助都将不胜感激。
Launching lib\main.dart on SM M315F in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':flutter_custom_dialog'.
&
如何解决此错误? 我有最新的flutter升级,最新的Xcode11.5,最新的MacOS catalina。我已经完成了Xcode11.5迁移(构建阶段),移动到zsh,选择遗留构建系统,删除所有不兼容的软件包,通过使用终端聚焦podfile文件夹来重新启动pod安装。干净利落地启动flutter。这是我的医生 [✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.5 19F101, locale fr-FR)
• Flutter version 1.17.5 at /Users/quentinguichot/Dev
你好,我是得到颤振火焰基础网页错误。
我正确地初始化了web,但是当我尝试使用Firestore函数时,我得到了这个错误。
我不知道这个错误..。
以前有人犯过这个错误吗?
阅读用的唐牙。
FirebaseError: Firebase: firebase.firestore() takes either no argument or a Firebase App instance.
(app/invalid-app-argument).
at Object.e [as firestore] (https://www.gstatic.com/firebasejs/8.10.1/fire
CocoaPods一直抱怨两个依赖项需要冲突的Protobuf版本。
[!] CocoaPods could not find compatible versions for pod "Protobuf":
In Podfile:
flutter_blue (from `.symlinks/plugins/flutter_blue/ios`) was resolved to 0.0.1, which depends on
flutter_blue/Protos (= 0.0.1) was resolved to 0.0.1, which depends
我刚刚为flutter创建了我的第一个贡献。我可以很好地使用我的包,但由于dart分析发现了一些错误,我得到了一个非常低的分数。我使用了GestureDetector类,并为onLongPressDragStart、onLongPressDragUpdate和onLongPressDragUp实现了回调。根据发布我的包后的分析,这些是错误的: Fix lib/planner_class.dart. (-57.81 points)
Analysis of lib/planner_class.dart failed with 3 errors:
line 163 col 21: The name
当我调用这个函数时,会发生错误。
Image.network(
i.toString(),
errorBuilder:((context, error, stackTrace) =>
const Icon(Icons.account_circle)))
如果无法获得图像,则显示图标。但是会显示下面的错误。
════════ Exception caught by image resource service ════════════════════════════
The following NetworkImageLoadException was thrown resolving a