我正在使用此连接插件检查互联网连接状态。它与flutter dart代码一起工作得很好,但是当我从原生android kotlin代码中调用flutter dart代码时,会发生这个missingplugin异常。因此,对于我来说,只有在使用平台通道从原生android kotlin代码调用flutter代码时,才会出现这个错误。
[ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method check on
我在使用flutter_share: ^1.0.2+1时发现了错误
MissingPluginException(No implementation found for method share on channel plugins.flutter.io/share)
E/flutter ( 3361): MissingPluginException(No implementation found for method share on channel plugins.flutter.io/share)
E/flutter ( 3361): #0 MethodCha
我正在为iOS开发插件。以前,该插件使用预先构建的cocoapods依赖项。但是,在中,他们声明他们将弃用移动库。
为了与最新的iOS原生WebRTC错误修复和功能保持同步,我们现在需要。
我是从源代码构建的,我用WebRTC的AppRTCMobile示例应用程序对它进行了测试,它在那里工作。现在,我正在尝试将WebRTC.framework导入flutter插件,但遇到了问题。
没有关于这方面的flutter文档,但我遵循了的指导。我已经将从源代码构建的二进制文件复制到中,并修改了以包含框架,但我得到了错误:
Xcode's output:
↳
In file include
我刚刚将自己的颤音升级到最新版本(3.0.0),我的项目一直给我以下警告和错误:
../../../../flutter/.pub-cache/hosted/pub.dartlang.org/syncfusion_flutter_pdfviewer-20.1.55-beta/lib/src/control/pdf_page_view.dart:196:23: Warning: Operand of null-aware operation '?.' has type 'PaintingBinding' which excludes null.
- 'P
下面是我在将颤振版本从2.0.1升级到2.8.2(pre)后所得到的错误。
我试过做“颤振酒吧缓存修复”、“颤振干净”和“颤振酒吧”,这并不能解决我的问题。
就连我都试着升级升级(没有成功)。
错误
../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_platform_interface-2.0.5/lib/url_launcher_platform_interface.dart:37:23: Error: Member not found: 'PlatformInterfa
我有一个用flutter编写的移动应用程序,我想将它转换为flutter_web应用程序(集成flutter还不可用)。我现在遇到了一些包的问题。
我得到以下错误
webdev could not run for this project.
You have a dependency on `cached_network_image` which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
You have a dependency on `cloud
C:\Users\KIIT>flutter医生总结(要查看所有详细信息,请运行Flutter doctor -v):√flutter (通道稳定,1.22.6,在Microsoft Windows version10.0.19041.804,locale en-US上)√Android toolchain -为安卓设备开发(安卓SDK版本30.0.2)!未安装Android Studio X Flutter插件;这添加了Flutter特定功能。未安装X Dart插件;这将添加特定于Dart的功能。X Android -√-dir= 'C:\Program X Android St
Running "flutter pub get" in mobile...
Because mobile depends on charts_flutter from path which doesn't exist (could not find package charts_flutter at "../mobile-dependencies/pub.dartlang.org/charts_flutter-0.12.0"), version solving failed.
pub get fail
运行程序时出错,下面给出的详细信息请检查并提供解决方案。
控制台中显示的错误-
[+152697 ms] FAILURE: Build failed with an exception.
[ +2 ms] * What went wrong:
[ ] A problem occurred configuring project ':flutter_launch'.
[ ] > The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and hig
我想使用mongo来存储我的应用程序数据,但是当我尝试await db.open()时,这个错误会出现在控制台上:
[ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (11408): type 'Future<dynamic>' is not a subtype of type 'Future<bool>' where
E/flutter (11408): Future is from dart:async
E/flutte
我在iOS上运行这个例子,它不工作: https://github.com/edufolly/flutter_bluetooth_serial 我得到了这个: ======== Exception caught by services library==============================================
The following MissingPluginException was thrown while activating platform stream on channel flutter_bluetooth_serial/state:
Mis
我在IntelliJ旗舰版2018.3.2的插件下找不到“浏览存储库”选项,我非常确定我以前有过它。我需要从存储库安装Flutter插件。
[!] IntelliJ IDEA Ultimate Edition (version 2018.3.2)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
我在设置完成某些功能的日常任务时遇到了问题。我已经设法让android_alarm_manager工作了,目前已经将其设置为每分钟在日志中打印一条消息用于测试目的,但将在完成后每天设置它。下面是我的代码:
void printHello() async{
final DateTime now = DateTime.now();
final int isolateId = Isolate.current.hashCode;
print("[$now] Hello, world! isolate=${isolateId} function='$printHello
在模拟器上运行项目时,似乎一切正常。一旦我试图部署到一个实际的设备,我得到了以下错误:
iOS版本- 13.0
Xcode版本- 11.3.1
颤动版本- 1.12.13+hotfix.8
Building AOT snapshot in release mode (ios-release)...
Building App.framework for arm64...
Building App.framework for armv7...
Building AOT snapshot in release mode (ios-release)... 30.5s
Buil
我面临安装方面的问题。当我跑得飞快的时候,医生,我得到了以下信息
[✓] Flutter (Channel beta, v0.4.4, on Mac OS X 10.11.6 15G19009, locale en)
• Flutter version 0.4.4 at /Users/divyakrishnan/Development/flutter
• Framework revision f9bb4289e9 (11 days ago), 2018-05-11 21:44:54 -0700
• Engine revision 06afdfe54e
• Dar
我在官方文档中安装了Flutter,也在Android上安装了Flutter和Dart插件。
但是,我看不到AndroidStudio3.0.1上的File>New颤振项目向导
我执行“颤栗医生”的命令。见下面的输出。
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.13.3 17D102, locale en-TR)
[✓] Android toolchain - develop for Android device
当我运行我的颤振项目或运行pub get命令时,我得到了这个错误。我研究了我的颤振项目中的代码,我没有使用这个插件,但是我找不到flutter_sim_country_code插件的用法。下面提到了错误。
The plugin `flutter_sim_country_code` doesn't have a main class defined in E:\flutter_windows_2.0.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_sim_country_code-0.1.1\android\src\
见。我怎么解决这个问题?(注意:firebase_auth错误消息中缩短的url已被完整链接所取代)。
见下面的编辑。
编辑2:这是一个带有一些常见依赖项的。
据我所知,firebase_auth (androidx.legacy:legacy-support-v4:26.0.0)请求的依赖项不存在;我只能在上找到v1.0.0。
编辑:还会在flutter build apk --debug上引发类似的错误
复制步骤
1. Migrate to AndroidX
2. Include `firebase_auth` in `pubspec.yaml`
3. run `flutter bu
我在Android上使用标准的颤振应用程序,当我不能执行颤振酒吧get时,当我执行颤振运行时,我得到了这个异常
FAILURE: Build failed with an exception.
* Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'c
我使用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
如何在flutter build aar时修复Android property not found错误 FAILURE: Build failed with an exception.
* Where:
Initialization script '/Users/username/sdk/flutter/packages/flutter_tools/gradle/aar_init_script.gradle' line: 15
* What went wrong:
Android property not found.