New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to build release for Android devices. No issue on iOS devices. #17
Comments
verbose: [ +419 ms] "flutter run" took 9,906ms. #0 throwToolExit (package:flutter_tools/src/base/common.dart:28) |
I faced the same issue. I was able to successfully create debug package by giving 'flutter build apk --debug' For creating release build, I created key.jks (followed this doc https://flutter.io/android-release/ ) and voilla, got the release apk. |
RMBP➜ FlutterCinematic git:(master) ✗ >flutter run -d all --release
Running "flutter packages get" in FlutterCinematic... 0.5s
Initializing gradle... 0.9s
Resolving dependencies... 1.8s
Launching lib/main.dart on MI 6 in release mode...
Running 'gradlew assembleRelease'...
VMIsolate(CodeSize): 4613
Isolate(CodeSize): 1699574
ReadOnlyData(CodeSize): 2484048
Instructions(CodeSize): 5880224
Total(CodeSize): 10068459
Gradle build failed to produce an Android package.
The text was updated successfully, but these errors were encountered: