Alguien sabe, me sale esto :c
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
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\anne\Desktop\GitHub\qrCoder\lector_qr\android\build.gradle' line: 33
* What went wrong:
A problem occurred evaluating root project 'android'.
> Could not find method android() for arguments [build_eoh40gz68wo3bxgdfkmy2r7vf$_run_closure5@5a9e48fa] on root project 'android' of type org.gradle.api.Project.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 3s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 5,4s
Gradle task assembleRelease failed with exit code 1
Que horror :c