Questions tagged [flutter-release]

43 questions
1
vote
0 answers

Flutter release APK is different compared to the debug APK when analyzed

In this flutter app i have a java library that uses a json file and a certificate inside the android/app/src/res/raw directory. But when i'am running the app in Release mode it failed to find those json and certificate files. And when i analyze both…
1
vote
1 answer

How can one rename a connectd device in Flutter run command?

In Flutter one can check available connected devices using flutter devices. When running one can do flutter run -d . It turns out some devices have very long names, with numbers and letters combined. Is there a way to rename a connected…
Amani
  • 16,245
  • 29
  • 103
  • 153
1
vote
1 answer

Flutter is it meaningless to upload debug symbols on obfuscating?

I have uploaded a flutter obfuscating bundle to the play store. I have got the following warning: This App Bundle contains native code, and you've not uploaded debug symbols. We recommend that you upload a symbol file to make your crashes and ANRs…
genericUser
  • 4,417
  • 1
  • 28
  • 73
1
vote
2 answers

Why does my app looks different in debug mode and release mode Flutter

My app looks different in debug and release mode. Video of it:- https://github.com/flutter/flutter/issues/92491
Malay
  • 68
  • 10
1
vote
1 answer

Cannot release build Flutter android

I want to build the release app of Flutter for both iOS and Android everything good and run very well on the development and iOS IPA release but not for android I try to flutter build appbundle but I got this problem A problem was found with the…
s. srichomthong
  • 486
  • 5
  • 14
1
vote
1 answer

how to release flutter app to google play?

I want to release an flutter app for Google play store and I checked every step of in Instruction page of flutter, but every time I got this error: * What went wrong:Execution failed for task ':app:validateSigningRelease'.> Keystore file not set for…
1
vote
2 answers

Flutter URL strategy not woring on Web Release

Flutter web debug works fine when manually entering the url, and i am using "pathUrlStrategy" for example http://localhost:14143/secondPage. But trying the same thing in release mode its just return 404 page for example http://localhost/secondPage…
1
vote
2 answers

Flutter build web

I'm new in flutter and I want to build web application by flutter web,flutter build apk is worked for me, but when I run Flutter build web I have this error. I followed up every step according to this document and use // @dart=2.9 top of all of my…
Abbas Asadi
  • 265
  • 1
  • 5
  • 14
1
vote
1 answer

Execution failed for task ':sms:verifyReleaseResources' while building APK of flutter application

I'm trying to build APK of my flutter application but upon running flutter build apk --split-per-abi I'm getting below error. It looks like there is something wrong with the camera package and I don't know what sms:verifyReleaseResources is…
Faizan Kamal
  • 1,732
  • 3
  • 27
  • 56
0
votes
1 answer

Unable to generate release build for android for Flutter app

I am trying to create release build for Android. But I am facing following error: Running Gradle task 'assembleRelease'... 11ms Flutter failed to run "/Users/Developer/taxi_token/android/gradlew -q…
Code Hunter
  • 10,075
  • 23
  • 72
  • 102
0
votes
0 answers

How to run test in release mode

I had a bug on a Flutter project I'm working on that was only happening in release mode. When running the application with flutter run everything was working fine. The bug was only there with flutter run --release I would want to write a test…
Valentin Vignal
  • 6,151
  • 2
  • 33
  • 73
0
votes
0 answers

Removing Flutter footprints in release for Windows

When we build the flutter app in release mode for Windows, we will get a folder where we have the exe file, the dll, etc. But by looking at these files, I see many footprints of Flutter, e.g. one file is named as "flutter_windows.dll", many flutter…
Kortus
  • 11
  • 2
0
votes
0 answers

Flutter Web - Release Package Looking for Removed Assets

After doing a few release builds (Flutter web), we removed some unused assets (fonts, etc) but they're somehow still being referenced when the app loads How do I clean this up?
Dana
  • 162
  • 2
  • 10
0
votes
1 answer

A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnabl

* What went wrong: Execution failed for task ':app:signReleaseBundle'. > A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable > Failed to read key mlive from store "C:\khalid\New…
0
votes
1 answer

Flutter release is different from the debug version

Widget doesn't work properly in the release version of Flutter, In the debug mode: the widget works properly as I desired. In release mode: the widget of the card is a bit messy when launching the app for the first time, it only works when I…