Questions tagged [flutter-build]

146 questions
0
votes
1 answer

AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x2012ebad8) & Versions/A/MobileDevice

meilbeck new % flutter build ios The plugins flutter_geocoder, flutter_open_whatsapp 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 Android…
0
votes
0 answers

Content is not allowed in prolog. Flutter build fails

I have installed a complete setup of flutter, flutter doctor does not show any errors. Flutter web is working perfectly fine but when I try to build an apk then it shows this error Launching lib\main.dart on M2007J20CG in debug…
0
votes
1 answer

Flutter Bluetooth giving error when app run in permission handling

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 Android V2 embedding. Otherwise, consider removing…
0
votes
1 answer

Flutter: APK does not open the app when installed on device

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 open. I get a message saying the app has been…
GBerga
  • 149
  • 5
  • 10
0
votes
2 answers

How do I input a TextButton background color to a function in Flutter/dart

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(colName: red, soundNumber: 2) etc. The soundNumber…
Castle
  • 49
  • 4
0
votes
1 answer

My stateful widget does not update the ui, even though I am calling setState and passing the correct value to the widget class

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 State { String bankName; …
0
votes
2 answers

Flutter Failed to build AAB file

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. "flutter build appbundle --release -v" Errors [+10400 ms]…
0
votes
1 answer

Is there a way to not including some folders when building for Apk?

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. so if i have these folders…
salman
  • 108
  • 8
0
votes
2 answers

Flutter List.Builder fetch JSON

This is my code: class HomePage extends StatefulWidget { @override _HomePageState createState() => _HomePageState(); } class _HomePageState extends State { List _users = []; List _usersDisplay = []; …
Akila Ishan
  • 147
  • 2
  • 12
0
votes
1 answer

Resource and asset merger error in flutter in VS Code

PS E:\flutter_proj\myapps\eb_bill_tracker> flutter build apk --release Building without sound null safety For more information see…
0
votes
0 answers

Insecure Http not Allowed error after I change android label

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 replaced my android label. Here is my AndroidManifest…
Aabhash Rai
  • 147
  • 1
  • 9
0
votes
1 answer

flutter build ios is taking long time, more than an hour

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-12-10 11:54:40 -0800 Engine • revision…
Hkm Sadek
  • 2,987
  • 9
  • 43
  • 95
0
votes
1 answer

Empty greyish screen when i install flutter app on real device

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. What could have gone wrong ?, app worked well all…
0
votes
1 answer

Flutter Build failed

While building and running the Flutter mobile application with flutter --version Flutter 2.0.1 • channel stable • https://github.com/flutter/flutter.git Framework • revision c5a4b4029c (3 days ago) • 2021-03-04 09:47:48 -0800 Engine • revision…
Karthikeyan P
  • 475
  • 2
  • 12
  • 25
0
votes
1 answer

Execution failed for task ':app:processDebugResources'. com.android.build.gradle.internal.tasks.Workers$ActionFacade

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.tasks.Workers$ActionFacade Android resource linking…
ayaan477
  • 21
  • 3
1 2 3
9
10