Skip to main content
Filter by
Sorted by
Tagged with
2 votes
2 answers
1k views

I am using the pull_to_refresh package. I am having a Stack() with two elements. One of them is the Refresher(). When I pull down on my screen, activating the refreshing animation, the build method is ...
progNewbie's user avatar
  • 4,942
1 vote
2 answers
517 views

I am experiencing this issue when I am trying to run my app on an Android Emulator(API 31, Android 12) after upgrading to Android V2: Normal Run gets Stuck here: √ Built build\app\outputs\flutter-apk\...
Moez Elahi's user avatar
2 votes
2 answers
9k views

FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:processDebugResources'. A failure occurred while executing com.android.build.gradle.internal.res....
ABDO AHMED's user avatar
1 vote
2 answers
3k views

I want to change the version number when building my Flutter project to web platform. flutter build web --build-name=2.0.0 --build-number=2 I tried the above command but Could not find an option named ...
MuharremCetin's user avatar
3 votes
3 answers
7k views

Whenever I try to test my app with flutter run command it's so laggy and slow and I can't determine how is my app performance in a release mode. However for building the app in release mode for ...
Taba's user avatar
  • 4,386
1 vote
1 answer
659 views

It works completely fine while testing in debugging mode. But when i try to build the apk of this project I get this error. FAILURE: Build failed with an exception. What went wrong: Could not ...
Elonify's user avatar
  • 91
2 votes
2 answers
1k views

I have read and understood a similar question posted here, but am having trouble applying it to my use case. I am new to Flutter and am creating an app that streams audio from a given URL using Ryan ...
John Harrington's user avatar
2 votes
1 answer
2k views

In my project I use mapbox_gl: ^0.14.0. When running flutter build aar command it fails with: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':mapbox_gl:...
Lukas Luke Stateczny's user avatar
4 votes
0 answers
435 views

I am trying to build flutter web app on ubuntu machine with command "flutter build web". Build is getting failed with below stack-trace. It is occurring since Flutter update 2.8.1 I have ...
iQSarvesh's user avatar
2 votes
1 answer
2k views

I am writing a dart source generator that is using json_serializable for some of it models. Initially the source generation was working fine for some time but now when I run dart run build_runner ...
Soumya Mahunt's user avatar
1 vote
0 answers
581 views

Dart build.yaml docs proposes this approach to build with custom configurations: If you need other configurations in addition to dev and release, you can define multiple build.yaml files. For ...
Soumya Mahunt's user avatar
1 vote
1 answer
490 views

I want to get .apk from my project, but I've got an error from my grade. I've removed my .gradle file and installed it again, but I still can't get .apk. I've got this : android\app\src\main\...
siitaw's user avatar
  • 11
1 vote
0 answers
129 views

I have two class methods inside my Stateful widget. As you can see one method is called inside the other one. 1st class method Future<void> _getExchangeHousesList() async { const url = ...
CodeR_Ax20's user avatar
13 votes
2 answers
5k views

I am using EasyLocalization, mobx, JsonSerializable etc. To generate *.g.dart files, I am using build_runner watch or the script in scripts/build.sh: flutter packages pub run build_runner build It ...
Muhammed Aydogan's user avatar
0 votes
1 answer
541 views

Pub get The plugins flutter_twitter_login use a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the ...
Muhammad Talha Sultan's user avatar
2 votes
1 answer
774 views

I can't build anymore my project after cleaning the pod. I wanted to build ipa for the first time but can't quite manage to make it happen as I have this error for flutter run or flutter build ipa. ...
Chris's user avatar
  • 41
1 vote
1 answer
579 views

What went wrong: Execution failed for task ':app:processReleaseResources'. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking ...
Usama Jutt's user avatar
0 votes
1 answer
1k views

I've build the apk file for the app I'm working on with the command flutter build apk --split-per-abi. It worked without any warnings. However, when I try to install the app on my phone, it doesn't ...
GBerga's user avatar
  • 144
6 votes
1 answer
4k views

I am working with geolocator and permission_handler package in my app but now both packages have different requirement for compileSdkVersion which is 30 and 31 respectively. I am trying to change ...
Arslan Kaleem's user avatar
0 votes
2 answers
1k views

I'm trying to create a function where under buildKey I can input two elements, the background color and the soundNumber so that when buildKey is called I can enter say buildKey(red, 2) or buildKey(...
Castle's user avatar
  • 59
1 vote
0 answers
324 views

I am new to flutter development. I have been editing a code bought from CodeCanyon. This application gets data from Woocommerce REST API. The application built is not showing any product in the output....
Haris Siddiqui's user avatar
0 votes
1 answer
114 views

I ran into a bit of a problem in flutter that I could not figure out myself. So I have the following code (only the important parts of the code are pasted), class _PrimaryDetailsEditState extends ...
gfit21x's user avatar
  • 151
1 vote
3 answers
2k views

Background Inside the state object of my stateful widget, I have the following code. class _PendingJobsState extends State<PendingJobs> { List<String> pendingJobs = []; <---------...
gfit21x's user avatar
  • 151
3 votes
2 answers
606 views

Parent Widget class _FamilyListPageState extends State<FamilyListPage> { String initialValue = 'Search Families'; void eraseInitialValue() { <-------------- This function is passed ...
CodeR_Ax20's user avatar
0 votes
2 answers
2k views

I m new in flutter and i need your help, I m trying to build AAB file but everytime i try to do this i get some errors. I generated the APK file without any problem and it works perfectly. "...
Aguni Dev's user avatar
0 votes
1 answer
33 views

I have to build a project using flutter that is run on web and mobiles, Is there a way to not including some folders when building for APK because there are some files that are needed only in the web. ...
salman's user avatar
  • 108
2 votes
0 answers
2k views

I'm trying to write tests to my flutter widgets. Let's say I have this stateful widget: class A extends StatefulWidget { const A(); @override AState createState() => AState(); } class ...
Valentin Vignal's user avatar
0 votes
2 answers
293 views

This is my code: class HomePage extends StatefulWidget { @override _HomePageState createState() => _HomePageState(); } class _HomePageState extends State<HomePage> { List<User> ...
Akila Ishan's user avatar
313 votes
19 answers
227k views

I have noticed a new lint issue in my project. Long story short: I need to use BuildContext in my custom classes flutter lint tool is not happy when this being used with aysnc method. Example: ...
Bermjly Team's user avatar
  • 3,841
5 votes
0 answers
721 views

I'm on a Flutter project and we are using build_runner. We are using several builders and runnning all of them takes a long time. Our file looks like this: targets: $default: builders: ...
Valentin Vignal's user avatar
0 votes
1 answer
470 views

PS E:\flutter_proj\myapps\eb_bill_tracker> flutter build apk --release Building without sound null safety For more information see https://dart.dev/null-safety/unsound-null-safety E:\flutter_proj\...
Moorthyfolio's user avatar
2 votes
1 answer
479 views

There is 2 product flavour in my project and i do not want some files to be added while building the .apk or app bundle and the below solution is not working . android { packagingOptions { ...
PRATHIV's user avatar
  • 608
1 vote
1 answer
1k views

While building apk for my flutter app I need to avoid from files in building . I have tried by below code in build.yaml but it does not work targets: $default: sources: exclude: - lib/widgets/...
PRATHIV's user avatar
  • 608
1 vote
1 answer
172 views

I keep getting this when I try to run or run a flutter project /Users/user1/Projects/projectx/ios/Pods/FBSDKCoreKit_Basics/Sources/FBSDK CoreKit_Basics/FBSDKUserDataStore.m:19:9: fatal error: '...
Newman's user avatar
  • 63
4 votes
1 answer
5k views

I find little to no information on what's the difference between these two flutter build bundle flutter build appbundle When should I use one over the other?
Joel Broström's user avatar
1 vote
1 answer
155 views

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:...
Saeed Ghasemi's user avatar
1 vote
1 answer
120 views

i am new to flutter, i have already made some small projects on my system but when I clone projects from github i cant build and run these projects, and I always get errors similar to this: Because ...
yasin moosavi's user avatar
-1 votes
1 answer
2k views

I can't get a web release from my flutter app when I use flutter build web I see this Error : Missing index.html Then I run the flutter create but I facing by this Error : No option specified for the ...
Huseyn's user avatar
  • 412
1 vote
1 answer
2k views

I am getting below error when I am trying to build apk or run it on a simulator. I tried with vs Code and Android Studio both, but the same error. But when I am running the app on a browser or as a ...
Siddhartha Das's user avatar
1 vote
0 answers
125 views

My app builds successfully in debug mode and runs fine but when using flutter run --release it gives some issues. * What went wrong: Task 'assembleAarRelease' not found in root project '...
Amit Parajuli's user avatar
1 vote
2 answers
2k views

i am trying to build a IOS IPA for generic device, followed all the instructions, added signing certificates, team etc. but i am unable to build the product. any one please help me to resolve this ...
Saif Ur Rehman Saif's user avatar
0 votes
0 answers
50 views

I know about flutter upgrade issue that doesn't allow insecure http but I did fix it by placing android:usesCleartextTraffic="true" in AndroidManifest file. It was working fine until I ...
Aabhash Rai's user avatar
2 votes
1 answer
732 views

I wanted to build release apk for my app and I tried running this command flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi Then, I ran the app-armeabi-v7a-...
Sanjeev Madhav's user avatar
1 vote
0 answers
575 views

I am trying to use FormBuilder for my project for adding an event to a calendar, I used ForBuilderTextfield() and FormBuilderSwitch(), however when I try to define FormBuilderDateTimePicker for ...
fmha's user avatar
  • 11
0 votes
1 answer
381 views

I have an app which takes a lot of time to build for ios. My other apps seems to be built quicker than this one particular app. My flutter version Framework • revision 7891006299 (4 months ago) • 2020-...
Hkm Sadek's user avatar
  • 3,229
0 votes
1 answer
376 views

I just finished a flutter project and used flutter build apk --split-per-abi to generate an apk to test on actual device, after successfully building, app shows nothing but an empty greyish screen. ...
wilson oguchi's user avatar
8 votes
1 answer
11k views

While building a Flutter app for Windows in debug mode, this error is occuring. flutter doctor -v gives normal output. What might be the cause of this ? Launching lib\main.dart on Windows in debug ...
aihamhasan's user avatar
2 votes
0 answers
353 views

I've been working with flutter_builder for a few days. I think the system is very powerful and I really like it, but I still need to understand some information. In order to run the builder you need ...
macuser's user avatar
  • 597
3 votes
2 answers
12k views

When I run flutter run or debug my code after flutter clean it shows this error Note: C:\src\flutter.pub-cache\hosted\pub.dartlang.org\firebase_core-0.7.0\android\src\main\java\io\flutter\plugins\...
Arslan Kaleem's user avatar
2 votes
1 answer
1k views

When I am using Flutter Local Notification Plugin (4.0.1), I am getting build errors on both Android and iOS. This is occurring with few other plugins as well - Apple Sign in for iOS and Google Maps ...
Saurabh Lakshman's user avatar