flutter_boost Android端example示例中TabCustomViewActivity页面先开容器再开flutter页面打不开,会卡死

pod7payv  于 5个月前  发布在  Flutter
关注(0)|答案(1)|浏览(78)

环境:
flutter sdk 2.5.3 版本、
mac os 12.0 m1 chip、
flutterBoost版本:v3.0-preview.16
目标平台:arm64、Android 10

只在Android端发现这个问题:打开过一个容器返回后再添加flutter页面就会卡死,调试发现似乎是没有刷新。

重现步骤:

  1. 跑起来工程自带的example中的demo例子。
  2. 点击第三个按钮 “open custom view page”。
  3. (Flutter1 tab或者Flutter2 tab页面下)点击第三个按钮(open flutter page with FlutterView)开启新页面并返回。
  4. 再点击第二个按钮(open flutter page),此时会卡死,不能正确打开。

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0 21A344 darwin-arm, locale zh-Hans-CN)
• Flutter version 2.5.3 at /Users/zhangfeinian/workspace/jdflutter/sdk/jdf-2.5.3
• Upstream repository https://github.com/flutter/flutter.git
• FLUTTER_GIT_URL = https://gitee.com/mirrors/Flutter.git
• Framework revision 18116933e7 (7 weeks ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/zhangfeinian/Library/Android/sdk
• Platform android-Sv2, build-tools 31.0.0
• ANDROID_HOME = /Users/zhangfeinian/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.1, Build version 13A1030d
• CocoaPods version 1.11.2

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.3)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 62.0.3
• Dart plugin version 212.5632

[✓] VS Code (version 1.62.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
• TET AN00 (mobile) • VRL0120714000160 • android-arm64 • Android 10 (API 29)
• iPhone 13 (mobile) • B7775D0E-DFE9-46AC-AA9D-62FC04B4FF6B • ios •
com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.55

• No issues found!

相关问题