我收到一条错误消息,指出“无法转换 libs.jar 以匹配属性”,因为“转换的输入文件不存在”。这是在 Flutter 中构建发布版 APK 时发生的。
我该如何解决?
mianumararshad@Mians-MacBook-Pro driverSide % flutter build apk --release
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 …Run Code Online (Sandbox Code Playgroud)