Questions tagged [flutter-build]
146 questions
0
votes
1 answer
Execution failed for task ':app:compileFlutterBuildRelease', please how do I solve this issue
Am having problem building my project, when I build it in debug mode it goes fine but when I build it in profile mode and release mode it gives me error. And If I do flutter run for debug mode it successfully build and throws me a new error.
Dart…
0
votes
2 answers
Use lambda functions in the build method
When a widget has some logic (ex: if/else), if often see the logic being done at the beginning of the build method and stored in variables that are reused.
For example
Widget build(BuildContext context) {
// ... Some logic 0 here
final result0 =…

Valentin Vignal
- 6,151
- 2
- 33
- 73
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…

Kelvin Anderson
- 23
- 5
0
votes
0 answers
How to uninstall flutter MacOS, Windows and Linux debug build from my laptop like in Android and iOS from smartphone?
I have done some searching regarding this but did not find any solution yet thats why i am asking.
Normally when ever we uninstall application from Mobile phone, all data clears and event if we don't want to unistall the application, we have option…

Ahsan Zulfiqar
- 66
- 4
0
votes
0 answers
Execution failed for task ':app:signReleaseBundle' when running flutter build appbundle
I've followed the steps here:
Flutter docs
This is the error I get when running flutter build appbundle (same with apk)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:signReleaseBundle'.
> A failure…

leandronn
- 173
- 1
- 17
0
votes
0 answers
Build flutter release version for Windows 8
I am using a Windows 10 PC and need to create a release version of my flutter application for Windows 8. However, flutter build windows builds an executable for the Windows version of the PC, you are using, which would be Windows 10 in my case.…

TheUltimateOptimist
- 1,089
- 4
- 19
0
votes
0 answers
flutter 2.19.2 build failed
Im using macOS sierra when I updated my flutter I am unnable to generate apk and unnable to generate appbundle previously its working fine please give me any solution
Task :app:compileFlutterBuildRelease
Exhausted heap space, trying to allocate 240…
0
votes
0 answers
Flutter libe36b.so: File format not recognized
I am having some difficulties with this during my build on Flutter Android:
flutter build appbundle
Building with sound null safety
aar: [com.deepar.ar, deepar2, 1.0.2] file sha1:fdf11bded5de3b90c7ca656fabd3fbd82980cecd…
0
votes
1 answer
How expensive are videos in Flutter?
Normally, if a widget has to rebuild many times or requires a lot of GPU resources, it is expensive. So, how about videos?
For example, consider the two following scenarios:
A screen with a black star shape (made of a widget like ClipPath or…

David A.
- 291
- 1
- 2
- 7
0
votes
1 answer
ToggleButton in Bloc
I am trying to implement a ToggleButton using the Bloc pattern provided by Flutter. The code is very simple, but there is a problem. When I try to update my index so that it can be emitted from the Bloc to change my value from bool, the whole thing…

ILetWango
- 13
- 5
0
votes
0 answers
I can't build Flutter app after 1 year, but I don't know what the problem is
Hi, I want to build a flutter app after 1 year, but I don't know what is problematic,
I don't know why there is nothing at below the path in the error code, when I open them there is nothing with error 404!
Error code:
PS…

Ezioadf2
- 57
- 6
0
votes
1 answer
Flutter build - getting error - DataSnapshotPlatform.verifyExtends, OnDisconnectPlatform.verifyExtends
Started getting below errors for iOS build today.
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
…

Pradeep Singh
- 31
- 2
0
votes
0 answers
First integration_test build timeouts
Is there a way to 'precache' or run Xcode build as a separate task before running tests? The first build takes significantly longer than the other resulting in pipeline timeout.
I've run flutter test integration_test on local machine after already…

Jan-Stepien
- 349
- 2
- 9
0
votes
3 answers
The build is failing for IOS in flutter
/Users/avinashkasukurthi/Developer/Flutter Projects/zopnote/consumer-app/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0…

Avinash Kasukurthi
- 29
- 6