Closed
Conversation
Author
|
核心问题应该是frb或者flutter版本过高不兼容,参考 https://github.com/lmq8267/VntApp 中版本,将frb降级到2.1,flutter版本降低到3.22,编译后的安卓apk已经可以使用。已经在 #27 中解决。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
更新flutter到3.38.7,更新flutter_rust_bridge_codegen到2.11.1,更新android-studio到2025.2.3.9,linux和android版本经实测,已经可以完成编译。linux版本可正常使用。android版本启动时白屏,chatgpt分析为flutter框架中main函数中的runApp之前,不能执行“await RustLib.init();”,否则会造成死锁。这一行语句注释调后,白屏消失,可以进行页面,但是建立连接时,显示RustLib没有初始化。能力有限,不太懂flutter框架,难以修复。看有没有对这一块熟悉的大佬帮忙修复一下?