【问题标题】:Flutter android library and iOS frameworkFlutter android 库和 iOS 框架
【发布时间】:2021-01-04 12:05:48
【问题描述】:

我的问题是,如何在 Flutter 中为 android 和 iOS 框架使用 .aar 文件?

我正在编写一个程序并且我正在使用颤振。我找到了程序和 iOS 框架的 .aar 文件。如何整合两者并使用它们?

【问题讨论】:

    标签: android ios flutter libraries aar


    【解决方案1】:

    我认为您需要使用方法通道,以便您可以调用本机代码并可以从 Flutter 连接到 Android 和 iOS。 https://flutter.dev/docs/development/platform-integration/platform-channels

    【讨论】:

    • 谢谢,这正是我要找的!
    猜你喜欢
    • 1970-01-01
    • 2019-06-06
    • 2018-05-29
    • 1970-01-01
    • 1970-01-01
    • 2019-12-22
    • 2022-07-12
    • 2021-06-06
    • 2023-03-21
    相关资源
    最近更新 更多