Questions tagged [flutter-debug]
47 questions
1
vote
1 answer
Improperly formatted define flag: EDIT _ flutter
What is the issue below? Recently updated flutter, then got this error.
FAILURE: Build failed with an exception.
* Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1035
* What went wrong:
Execution failed for task…

SHAFI TPM
- 37
- 6
0
votes
0 answers
Flutter web-rendrer html is not showing network images in release mode on mobile chrome and firefox
Hy everyone!
I'm new in flutter and I have build my portfolio dynamic and responsive webapp where I have picked images urls from firebase, the images are not shown before by using NetworkImage widget then I have used the 'flutter run -d chrome' and…

Saad Saleem
- 1
- 1
0
votes
2 answers
How to solve this error of AlertDialog in Flutter
I'm trying to get the result of this code. I want to show a Confirm AlertDialog with two buttons, One Accepting and Other One Cancelling and want display the result of pressing each button in the debug console. I have read the documentation related…

motinurr
- 3
- 2
0
votes
0 answers
Is there a way to mock flutter module API calls in native mobile application
I have a native android application with flutter module integrated in it. I want to mock flutter module API calls but getting below error in Charles proxy
I am able to intercept native android API calls and modify the responses using charles but…

Rohit
- 895
- 1
- 9
- 19
0
votes
0 answers
Flutter console output message become vertical in android studio Flamingo 2022.2.1
For some weird reason, my flutter console output on android studio become vertical text like this :
(see the vertical text on the right side)
It usually showing fine wether I'm using normal log or pretty log
if anyone ever have this problem, please…

dugoymasta
- 11
- 2
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
2 answers
flutter: how to fix button width and container textfield border?
I want to create a apply coupon section , In this section i have used a textfield and Button,
i want to set border only three side laft,top and bottom and right side will be a button.
This is my code.
Padding(
padding: const…

Deepak
- 1,664
- 3
- 19
- 52
0
votes
1 answer
Attach to a process on the Android device
I've published an Android bundle on Play Store for internal testing. Now I've installed it (from Play Store) on a physical device and started. As the application is malfunctioning I want to see the logs as I did by starting debugging right from VS…

Ralfeus
- 845
- 9
- 31
0
votes
0 answers
i am getting an error while using the sliding up panel dependency in my flutter code
I get an exception whenever I press the payments button on my bottom nav-bar.
the error goes like this:
The ParentDataWidget Expanded(flex: 1) wants to apply ParentData of type FlexParentData to a RenderObject, which has been set up to accept…

Ahmad Maaz
- 45
- 6
0
votes
1 answer
canLaunch is not launching URL in ios.But works fine in Android
I am using canLaunchUrl to launch a UPI payment URL. This is working fine in Android but does not work in iOS. In iOS, they are not launching the URL instead they are moving to the else case and showing the toast message that we gave in the code.…

Geethu
- 1
0
votes
1 answer
"Error connecting to the service protocol: failed to connect to http://..." after running adb reverse command
I have a flutter app that I debug on real device, and it runs fine in the debug mode.
I got to a point when I created a backend server that runs in a localhost:8080 only machine, so in order to make it accessible from my real phone device also, I…

Gwhyyy
- 7,554
- 3
- 8
- 35
0
votes
0 answers
Debug Flutter app on Android device while simultaneously showing its screen on desktop with scrcpy
Working in Ubuntu, I'm debugging a Flutter app on my Android phone while I code it. So far that works fine, but I would like to see the phone screen on my pc for comfort. I know an emulator would do the trick, but for performance issues I used my…

Fernando Valdes
- 21
- 3
0
votes
1 answer
appbundle being generated with the empty String.fromEnvironment
I'm storing some settings in String.fromEnvironment('CONFIG_EX'), when I run the app in Debug or Profile mode everything works normally, but now I launched it on the PlayStore in Open Test and it's returning a 403 error and I realized that the…

Waldson Fagundes
- 77
- 8
0
votes
0 answers
Location service isn't used when testing the app without debugging
I'm new in developing and working on a flutter app in which the location is being tracked for a certain time.
I'm not sure if i misunderstand the use of the debugging process itself, but when i run the app on the phone while debugging (device…

icecase
- 23
- 3
0
votes
1 answer
How can I make my Flutter app fast in release mode?
My Flutter app runs fast in debug mode but slow in release mode. what could be the reason

Deniz Durmaz
- 53
- 4