android - 我用颤振构建的应用程序在安装后立即崩溃
问题描述
我的应用程序在安装后立即崩溃。在进行构建时,我在 android studio 上没有收到任何错误。我是 Flutter 的新手,我想知道如何发现和解决问题。我提供了下面的代码。
C:\src\deliveryboy\flutter_application>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 --split-per-abi
Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 52.6s
√ Built build\app\outputs\flutter-apk\app-release.apk (22.1MB).
C:\src\deliveryboy\flutter_application>
解决方案
推荐阅读
- ssl - Python 的默认 SSL 证书上下文在代理后面时不能在请求方法中工作,否则工作正常
- mongodb - 如何更优雅地使用 Mongoose 进行重复验证?
- linux - 如何在 Linux 中查找特定文件的所有可用链接
- python - Jupyter 实验室虚拟环境
- firebase - Firebase 用户没有构造函数?
- reactjs - 为什么 Material-UI Button 的值没有传递给 onClick 事件处理程序?
- linux - 如何为锁定帐户设置特定的错误代码
- c# - 游戏统一开始后有没有办法将玩家分配给相机?
- c++ - 帧缓冲区大小更改但无法设置视口
- java - 在 Android Studio 中设置多个闹钟