加后
地点:^1.4.1
到pubspec.yaml中的依赖项:
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
rxdart: ^0.20.0
http: ^0.12.0
date_format: ^1.0.5
intl: ^0
我已经反复得到
OneSignal.h未找到
试图存档我的iOS颤振应用程序时出错。我已经成功地在我的IntelliJ环境中使用模拟器构建了这个应用程序,但是无法在XCode中构建它。我尝试了几个旧的解决方案,并想知道这是否是新版本的
onesignal_flutter
包。它在OneSignalNotificationExtention目标上失败了。这是我的PodFile..。
# Uncomment this line to define a global platform for your project
platform :ios, '12.0'
# Coc
因为flutter_bloc: 0.21.0依赖于provider: ^3.0.0,并且没有flutter_bloc match: >0.21.0 <0.22.0版本,所以flutter_bloc: ^0.21.0需要provider: ^3.0.0。因此,因为它tells_me它依赖于provider: ^4.1.2和flutter_bloc: ^0.21.0,所以版本解析失败。
pub get failed (1; So, because tellz_me depends on both provider ^4.1.2 and flutter_bloc ^0.21.0, ver
我是新来的颤栗,并想把我的应用程序与火柴。我从这个站点()复制代码。这是我的代码链接,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应用程序中运行flutter build appbundle时,我的构建失败,并显示以下错误:
Note: io.flutter.view.AccessibilityViewEmbedder$ReflectionAccessors: can't find dynamically referenced class android.util.LongArray
Note: there were 1 unresolved dynamic references to classes or interfaces.
You should check if you n
[![Because every version of flutter_test from sdk depends on async 2.6.1 and fstore depends on async 2.5.0, flutter_test from sdk is forbidden.
因此,由于fstore依赖于sdk中的任何flutter_test,所以版本解决失败。在测试更新中运行“颤栗酒吧”..。
发布失败(1;因此,由于fstore依赖于flutter_test,版本解决失败。)]
代码在主通道上运行,但是当我将通道更改为dev之后,当我升级这个异步时,每个通道都会出现这个错误,我
我试图安装alpha_vantage,得到了以下错误:
,因为每个版本的alpha_vantage_package都依赖于http ^0.12.0+4,而前端依赖于http ^0.13.4,所以alpha_vantage_package是被禁止的。因此,由于前端依赖于alpha_vantage_package ^1.0.0,版本解决失败。发布失败(1;因此,由于前台依赖于alpha_vantage_package ^1.0.0,版本解决失败)。出口代码1
这是我的pubspec.yaml文件:
name: front
description: A new Flutter project.
p
在使用省道迁移之后,尝试在chrome或macos上运行我的应用程序时,我在控制台中得到以下错误:
Downloading Web SDK... 2,674ms
Launching lib/web/main.dev.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
../../../.pub-cache/hosted/pub.dartlang.org/styled_te
我在flutter项目中遇到以下错误,但不知道如何解决它的错误:
D8: Program type already present: com.google.protobuf.AbstractMessageLite$Builder$LimitedInputStream
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
> com.android.buil
我已经研究这个问题将近半天了。我正在尝试使用Flutter的SharedPreferences包在应用程序的存储中存储密钥/值。当我通过SharedPreferences新建一个await SharedPreferences.getInstance()时,它构建和运行正常,但是当应用程序到达该代码行时,它会崩溃,并出现以下错误:
MissingPluginException (MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferen
运行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项目中安装image_picker和firbase_storage。但是无论我尝试安装什么版本,它都会失败。并给出这样的错误- Because image_picker >=0.3.0 requires Flutter SDK version >=0.1.4 <2.0.0 and image_picker <0.3.0 requires SDK version >=1.8.0 <2.0.0, image_picker is forbidden. 我尝试过安装每个版本,但连一个版本都安装不了。 Flutter doctor -v
我的1.6应用程序项目的Eclipse构建成功了,而Ant构建失败了。我在寻求帮助,解释为什么他们的行为方式不同。
我们在Mac 10.5.8上进行开发,使用Eclipse3.5,而不是SDK 1.6 + Google API。Eclipse中没有任何设置更改,无论是在工作区还是项目级别。类似地,我们的ant也是1.7.1版本的未修改版本。JDK是1.5.0_22。未设置CLASSPATH环境变量。JAVA_HOME是/库/Java/ Home
该应用程序最初是由团队成员使用Eclipse插件创建的。这个应用程序引用了两个jar文件,其中一个依赖于我们的代码或android.jar中没有定义的
当我尝试将我的应用程序构建到Flutter Desktop时,它失败了,并显示以下消息: Running "flutter pub get" in project...
Launching lib/main.dart on Linux in debug mode...
Exception: No Linux desktop project configured. See https://github.com/flutter/flutter/wiki/Desktop-shells#create to learn about adding Linux suppor