运行Firebase升级命令后,我尝试在模拟器中运行我的应用程序,出现了以下错误消息:
以调试模式在sdk gphone64 x86 64上启动.运行Gradle任务‘assembleDebug’。/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.24.0/lib/firebase_core.dart:19:7:错误:函数声明需要一个显式的参数列表。尝试向函数声明中添加参数列表。等待/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-
此错误发生在运行命令'flutter packages get‘时。我为pubspec.yaml文件添加了一些依赖项以使用firebase身份验证:
name: flutter_auth
description: A new Flutter project.
version: 1.0.0+1
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to y
我添加了firebase和,然后在调试控制台中显示了某种警告
警告:
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_analytics-9.3.3\android\src\main\java\io\flutter\plugins\firebase\analytics\FlutterFirebaseAnalyticsPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
当我试图在我的颤振项目中添加firebase时,我得到了版本解决错误。我已经在os上配置了firebase,最后一步是运行颤振酒吧get。我注释掉了basic_utils,以查看是否会有其他冲突,这就是为什么我知道它也不能与google_fonts一起工作。有人知道我做错了什么吗?我怀疑它还会与其他依赖项发生冲突。这仅仅是我必须使用旧版本的防火墙才能让它工作的地方吗?
So, because jd_app depends on both firebase_storage ^8.0.0 and google_fonts ^1.1.1, version solving failed.
So, b
我是新来的颤栗,并想把我的应用程序与火柴。我从这个站点()复制代码。这是我的代码链接,Git的链接。
pubspec.yaml代码名称:数据库影响描述:一个新的颤振应用程序。
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# The followin
我最近将我的Flutter Firebase应用程序转换为Flutter Web,在尝试登录或注册后收到以下错误: MissingPluginException(No implementation found for method startListeningAuthState on channel plugins.flutter.io/firebase_auth) 我在我的Firebase项目中添加了新的web应用程序,粘贴了代码,但它似乎无法工作。有什么解决方案吗?我希望我的代码尽可能地保持相同,但我会删除每一个答案。谢谢!我的index.html: <body>
包firebase_auth和flutter_localizations会导致以下错误。有没有办法解决这个问题?
Because firebase_auth >=0.20.1 <0.21.0-1.0.nullsafety.0 depends on firebase_auth_web ^0.3.3 and no versions of firebase_auth match >0.20.0+1 <0.20.1, firebase_auth >0.20.0+1 <0.21.0-1.0.nullsafety.0 requires firebase_auth_web
我使用VisualStudio作为集成开发环境。在添加cloud_firestore:^0.13.7作为依赖项并运行pub get时,我收到以下错误: [firebase] flutter pub get
Running "flutter pub get" in firebase...
Because cloud_firestore >=0.13.4 depends on cloud_firestore_web ^0.1.1 which depends on firebase ^7.0.0, cloud_firestore
请让我有一个依赖冲突的颤振,我的问题是它是抱怨包,我没有指定在pubspec.yml。
我尝试过做dependency_overrides:但它没有解决我的问题,我也尝试删除版本号,让颤振决定使用的版本号,但仍然没有解决我的问题。
我尝试过许多平台,但没有找到任何解决方案。
请帮帮忙。
这是我的pubspec.yml文件
name: airstyl
publish_to: "none" # Remove this line if you wish to publish to pub.dev
https://developer.apple.com/library/arc
我遇到了一个问题,我的项目在iOS上运行得很好,但是在Android上我得到了以下错误:
PlatformException (PlatformException(channel-error, Unable to establish connection on channel., null, null))
在这里完成堆栈:
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
W/FlutterActivityAndFragmentDelegate(19624): A splash screen was provided to Flutte
嘿,伙计们,我正在捡一个旧的颤音项目。有些用户要求提供新的功能,我想实现它们。我已经尝试过更新flutter和我的依赖项,但是同样的错误不断出现。
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:preDebugBuild'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClassp
我最近升级到了Flutter的最新版本。因此,我的应用程序无法加载并立即失败。错误似乎是由于颤动版本造成的。我尝试过降级,但没有成功。 以下是控制台的输出。 Running "flutter pub get" in source...
Because every version of flutter_test from sdk depends on vector_math 2.1.0-nullsafety.3 and fstore depends on vector_math 2.0.8, flutter_test from sdk is forbidden.
So, bec
我在android工作室引进了一个项目。但是,有一个令人难以置信的版本冲突即将到来。如果一个人解决了其他的上升,如果它下降了,另一个上升。我正在尝试获得所有的包,它正在向我显示如下错误。
Because date_utils >=0.1.0+3 depends on intl ^0.16.0 and prokit_flutter depends on intl 0.17.0-nullsafety.2, date_utils >=0.1.0+3 is forbidden.
So, because prokit_flutter depends on date_utils ^0.1.0+
我在android studio中遇到google play服务错误,而我正在使用flutter。我尝试了各种解决方案,但似乎都不起作用。 我试着改变googleplayservices的版本,但它是一样的。 Failed to capture fingerprint of input files for task
':app:checkDebugClasspath' property 'compileClasspath' during up-to-date
check.
> In project 'app' a resolved G
我正在尝试将Firebase身份验证添加到我的应用程序。我已经检查了我的应用程序的process of linking firebase,但当我进入步骤4.6并尝试在安装了Firebase插件的情况下运行我的应用程序时,我得到以下错误: Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-1.0.2\android\src\main\java\io\flutter\plugins\firebase\core\FlutterFirebaseCorePlugin.java uses or overrides
我正在学习最新的教程(2月- ),在编写与作者相同的代码时,我得到了以下例外:
======== Exception caught by widgets library =======================================================
The following FirebaseException was thrown building FutureBuilder<FirebaseApp>(dirty, state: _FutureBuilderState<FirebaseApp>#881ee):
[core/no-app]
我正在尝试将AdMob广告添加到我的Flutter应用程序中。为此,我尝试使用firebase_admob (^0.9.3+2)插件,但它不适用于我,它停留在build.apk。
我得到的输出如下:
Note: /home/abhishek/dev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.3+2/android/src/main/java/io/flutter/plugins/firebaseadmob/AdRequestBuilderFactory.java uses or overrides a depre
我试图在ios中实现Firebase消息传递,但当我运行App时,出现了以下错误:
xcodebuild: error: Could not resolve package dependencies:
failed extracting 'https://dl.google.com/firebase/ios/swiftpm/8.9.1/GoogleAppMeasurement.zip' which is required by binary target 'GoogleAppMeasurement': /Users/gibran/Library/Develo
我在构建apk的时候收到了这个警告。我该如何解决它? Note: C:\src\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-1.0.3\android\src\main\java\io\flutter\plugins\firebase\core\FlutterFirebaseCorePlugin.java uses or overrides a
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\src
在pubsec.yaml文件中添加firebase_analytics后出现此错误。 FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':firebase_core:compileDebugAidl'.
> The library com.google.android.gms:play-services-measurement-base is being requested by various other