[Flutter] flutter build apk split abi package

Flutter usually packs apk, and will pack all abi architectures (such as: arm64-v8a, armeabi-v7a, x86_64) together, and the apk will be very large; if you know the abi of the target model, you can choose to split the package, The size of the apk package will be much smaller.

flutter build apk

flutter build apk

Split the abi architecture (such as: arm64-v8a, armeabi-v7a, x86_64), and package them separately to generate 3 apk files.

flutter build apk --split-per-abi

flutter build apk --split-per-abi

Guess you like

Origin blog.csdn.net/AoXue2017/article/details/128981870