小编Ahm*_*yri的帖子

Flutter 发布到 Linux

我为 Linux 创建了一个 flutter 应用程序。但如何将flutter发布到Linux或windows上呢?

You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
    To generate an app bundle, run:
        flutter build appbundle --target-platform android-arm,android-arm64,android-x64
        Learn more on: https://developer.android.com/guide/app-bundle
    To split the APKs per ABI, run:
        flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
        Learn more on:  https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleRelease'...                                
Running …
Run Code Online (Sandbox Code Playgroud)

linux windows ubuntu dart flutter

4
推荐指数
1
解决办法
4598
查看次数

标签 统计

dart ×1

flutter ×1

linux ×1

ubuntu ×1

windows ×1