将RXdart添加到我的pubspec.yaml后,我收到以下错误: Because no versions of cached_network_image match >2.5.1 <3.0.0 and cached_network_image 2.5.1 depends on flutter_cache_manager ^2.1.0, cached_network_image ^2.5.1 requires flutter_cache_manager ^2.1.0. 包使用: ev_dependencies:
flutter_test:
sdk: flutter
我正在尝试在我的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
当image_picker(^0.6.0+2)颤振运行构建失败时,我使用了和image_cropper(^1.0.1)。
Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed f
我在我的颤振项目中有一个错误。
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
> Duplicate class com.google.android.exoplayer2.ui.package-info found in modules jetified-exoplayer-common-2.14.1-runtime (com.google.android.exoplayer:exoplayer-common:2.14.1) an
我正在尝试用Visual Studio代码构建一个App Bundle,但总是失败,它显示:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:shrinkReleaseResources'.
> org.xml.sax.SAXParseException; lineNumber: 6; columnNumber: 7; Attribute "keep" bound to namespace "http:/
我正在尝试在flutter项目中添加google_maps_flutter和google_map_location_picker来使用它,但问题是最新版本^4.1.7与应用程序中的其他包不兼容,每次我都会收到这个错误: because myapp depends on both image_picker ^0.8.4+2 and google_maps_flutter ^1.1.0, version solving failed. 完全错误: Because image_picker >=0.7.4 depends on flutter_plugin_android_lifecycle
下面是我在pubspec.yaml文件中添加的image_picker
dependencies:
flutter:
sdk: flutter
url_launcher: ^4.0.3
google_maps_flutter: ^0.0.3+3
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
image_pick
我试图在调试中运行我的应用程序,并得到一个错误':geolocator_android:compileDebugJavaWithJavac'. > Compilation failed;
这是我的包裹
environment:
sdk: '>=2.12.0-0 <3.0.0'
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the Cupe
ı是如何解决这个问题的?
因为来自sdk的每个版本的flutter_test都依赖于路径1.8.1,而舰队依赖于路径^1.8.2,所以flutter_test是被禁止的。因此,由于机队依赖于sdk中的flutter_test,版本解决失败了。发布失败(1;因此,由于机队依赖于sdk的flutter_test,版本解决失败)。进程已完成,退出代码为%1
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Us
我正在尝试在pubspec.yaml中安装一个包pubspec.yaml:^4.0.0,在安装过程中,在安装结束时会得到这个错误:
Running "flutter pub get" in edaffix-mobile-flutter-master...
Because jitsi_meet >=4.0.0 depends on jitsi_meet_platform_interface ^2.0.0 which depends on plugin_platform_interface ^2.0.0, jitsi_meet >=4.0.0 requires
我不使用GIT。正如我看到的一些帖子/问题,用户提到他们正在使用GIT,并因此他们得到了错误。
昨天,我添加了Image插件,然后重新启动了机器。重新启动后,它将开始提供错误。
The current Flutter SDK version is 0.0.0-unknown.
Because image_cropper 1.2.1 requires Flutter SDK version ^1.12.13 and no versions of image_cropper match >1.2.1 <2.0.0, image_cropper ^1.2.1 is forbidden.
我是新来的。请告诉我如何解决这个问题?我试图更新所有的依赖项,但是我得到了错误。
这是我在运行flutter pub add flutter_plugin_android_lifecycle时遇到的错误
Because tflite_flutter_helper >=0.3.1 depends on camera ^0.9.4+5 which depends on flutter_plugin_android_lifecycle ^2.0.2, tflite_flutter_helper >=0.3.1 requires f lutter_plugin_android_lifecy
这里有很多类似的问题,但都没有回答这个问题。 当使用image_picker、barcode_scanner或其他插件打开自己的活动时,在我使用“取消”按钮或“返回”-Button之前,一切都运行得很好。只要我点击取消按钮,我的应用程序就会崩溃,并显示以下错误日志:(我使用image_cropper显示此错误,但image_picker和barcode_scanner会创建类似的错误) Croppfile
D/AndroidRuntime(31882): Shutting down VM
E/AndroidRuntime(31882): FATAL EXCEPTION: main
E/A
我正在尝试将ImagePicker实现到我的Flutter项目中,但是当我尝试导入包:import 'package:image_picker/image_picker.dart';时,它只显示错误。我已经将它作为依赖项添加到我的pubspec.yaml文件中,但是当我重新打开VS时,它显示了这个错误:
Because LPP requires SDK version >=2.12.0 <3.0.0, version solving failed.
pub get failed (1; Because LPP requires SDK version >=2.
我正在尝试使用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
当我运行命令时,我得到了以下错误: pod -repo-update
以下是我正在犯的错误:
[!] CocoaPods could not find compatible versions for pod "FBSDKLoginKit":
In Podfile:
flutter_facebook_auth (from `.symlinks/plugins/flutter_facebook_auth/ios`) was resolved to 4.3.0, which depends on
FBSDKLoginKit (~> 13)
fl
在添加flutter image_picker插件后尝试运行pub get时,我在Android Studio iOS模拟器中遇到此错误。
Because image_picker >=0.7.0 depends on image_picker_platform_interface ^2.0.0 which depends on http ^0.13.0, image_picker >=0.7.0 requires http ^0.13.0.
And because http >=0.13.0 depends on http_parser ^4.0.0, image_pick