56 questions
-1
votes
1
answer
46
views
Unable to Hit Breakpoints in Flutter Core Libraries During Debugging
I’m trying to debug Flutter’s core libraries such as dart:io, dart:async , but I can’t get the breakpoints to hit.
Before I run the app, I set a breakpoint.
But after the app starts running, the ...
0
votes
0
answers
255
views
Flutter "Raster Jank Detected" on Frame 2 (33.2ms Raster Phase) in a Minimal App
I'm building a AI Based Task Management Flutter App. But now its just at starting face. Its now a very simple Flutter app that only increments a counter using setState. However, when profiling the app ...
1
vote
1
answer
65
views
Flutter doesn't render Windows app in debug mode
I've been trying to debug my Windows application, but it doesn't render properly. Meanwhile, the release version of the app works just fine. This is the debug view: Windows app with render problems
...
0
votes
0
answers
44
views
Flutter debug vs. release difference in interface
I am having issues while launching my Flutter application in the same physical device in debug and release mode. You can clearly see the difference in terms of interface (the uglier one is, of course, ...
-3
votes
1
answer
123
views
Can't run my flutter project on physical mobile device. Bridge call failed
When I execute the command flutter run in the terminal to debug my project then it generates the apk and runs on the android device but only shows a black screen (although I believe I have proper ...
0
votes
1
answer
118
views
Flutter debugger becomes unresponsive after few seconds of running the app
I was running and debugging a flutter app in VS Code in my M2 Macbook. But now there is a problem like I can't reload or restart the app after few seconds from starting it. Also dev tools is not ...
0
votes
0
answers
52
views
Double сonsole output when running Flutter app on iOS (debug mode)
When I run my Flutter app on iOS in debug mode, the strings passed to the print method appear twice in the console. For example:
flutter: 💡 Chat initialized
2024-09-27 04:42:12.944143+0300 AppName[...
0
votes
1
answer
215
views
Gradle 8.0 is not useable with Flutter 3.7
[ +2 ms] FAILURE: Build failed with an exception.
[ +4 ms] * Where:
[ +1 ms] Script 'C:\Users\hp\OneDrive\Documents\flutter_windows_2.10.1-stable\flutter\packages\flutter_tools\gradle\flutter....
0
votes
3
answers
694
views
Flutter | Unable to build Debug APK for Android
I am a newbie to flutter and trying to build the apk that can be installed on my android device. I am able to build the release apk using the following command:
flutter build apk
To debug certain ...
-2
votes
1
answer
29
views
setstate is not answering when i prees the elvated button
seState should answer when user press the button....
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});...
1
vote
1
answer
137
views
Why is my number keyboard jumping to a default one. For a moment?
Did any of you happen to encounter this bug before? I'm trying to implement OTP for my app project, but during the quick focus change between the 6 fields, Flutter apparently doesn't have enough time ...
0
votes
0
answers
136
views
Unable to paste text into textfield from clipboard history in flutter desktop
I'm trying to paste text from the clipboard history into the textfield on flutter desktop but it's not working in new updates. It was working fine in the previous updates of flutter. could you please ...
16
votes
2
answers
766
views
Flutter debugging with Google Pixel 8 start to show "E/lutter_progetto( 5180): PIXEL: ioctl err: 1"
I'm developing an application with Flutter and today suddenly when I start my debugging tests with a physical device (pixel 8) I receive the following error in the console at every interaction:
I ...
0
votes
2
answers
2k
views
My Flutter Windows Application (.exe) runs only in background
I have created a flutter project (windows platform). I build the application than use inno setup to create a setup file but when I run the application after installation it runs in background not in ...
1
vote
1
answer
549
views
What are these launch/debug configuration options that I didn't define, and why are they there / how can I get rid of them?
I'm using VS Code Studio for Flutter.
I cannot delete some devices in the Run and Debug section in VS Code Studio, the devices I marked in green in the picture.
There are devices that are not in my ...
0
votes
0
answers
1k
views
Flutter web-rendrer html is not showing network images in release mode on mobile chrome and firefox
I'm new in Flutter and I have build my portfolio dynamic and responsive web app where I have picked image URLs from Firebase. The images are not shown before by using NetworkImage widget. Then I tried ...
0
votes
2
answers
60
views
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 ...
2
votes
0
answers
340
views
Flutter Logger Package not printing Emoji, colors
I am using flutter Logger Package
logger: ^2.0.1
I am using all the default settings they mentioned
var logger = Logger(
printer: PrettyPrinter(
methodCount: 2, // Number of method calls ...
2
votes
2
answers
5k
views
Flutter build fails with 'this and base files have different roots' error [duplicate]
flutter build fails
Could not create task ':flutter_plugin_android_lifecycle:generateDebugUnitTestConfig'.
this and base files have different roots: D:\untitled\build\flutter_plugin_android_lifecycle ...
0
votes
1
answer
403
views
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 ...
0
votes
2
answers
308
views
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.
...
0
votes
1
answer
878
views
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 ...
0
votes
0
answers
300
views
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 ...
0
votes
1
answer
555
views
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 ...
0
votes
1
answer
287
views
"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 ...
0
votes
1
answer
528
views
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 ...
0
votes
1
answer
141
views
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
0
votes
0
answers
66
views
Stucked while making a splash screen. Unknown error
Running Gradle task 'assembleDebug'...
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Debug service listening on ws://127.0.0.1:55743/-QUEMI0IafA=/ws
Syncing files to device Android SDK built ...
-2
votes
1
answer
262
views
Trying to debug in flutter I go error from obx how to fix it [closed]
I have a code which can be seen here
trying to debug it I got this error, I don't know where I made mistake in the Obx function as started by flutter.
2
votes
1
answer
228
views
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 <device-name>. It turns out some devices have very long names, with numbers and ...
1
vote
0
answers
1k
views
How can I see the complete widget tree In Widget Inspector? Flutter
I want to see all children of a given widget at one place so that I can better model my app. The issue is, I am unable to see all children of any given widget at once, neither in VSC nor in online ...
11
votes
4
answers
12k
views
Flutter Error: cmake error : debugging new project
I just start a new flutter project in vscode , when I want debugging the project , I got Error:
Could not find compiler set in environment variable CXX:
clang++.
Call Stack (most recent call ...
0
votes
0
answers
572
views
infinite scrolling from flutter application that fetch data from wordpress rest api based on categories fetch data not according to their category
infinite scrolling from flutter application that fetches data from WordPress rest API based on categories... I tried to fetch data based on categories but it display all data on all categories tabs ......
2
votes
6
answers
5k
views
Unable to run Flutter project on Android after update
I've been trying to get my Flutter project to run after upgrading it to 2.10.4 and it's been a headache from the start. The project runs fine on a browser, but I'm having difficulty running on an ...
0
votes
2
answers
328
views
How can I Fix this Error Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE] I got when debugging Flutter?
While Debugging and running my app on Emulator (VS Code) I encountered this error.
PS. I am new to flutter.
5
votes
1
answer
5k
views
How to create a lightweight android emulator?
My PC lags if I open emulator from android studio ,with chrome and vscode in the background at same time.
So I want to know is there any lightweight emulators for testing flutter apps overlaying in ...
1
vote
0
answers
313
views
Flutter - Debugging iOS 14 background message (when the app is closed)
Trying to build a chat app, which gets FCM messages and shows notifications even when the app is closed.
Clearly, something in my top-level onBackgroundMessage function for FCM is wrong as the ...
0
votes
1
answer
679
views
ERROR : XMLHttpRequest error in flutter while using weather API
here i use a weather API. while do debugging it comes with an error as,
Error: XMLHttpRequest error.
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch....
0
votes
1
answer
187
views
"Service Protocol" Error Prevents Testing Flutter App on Real Device
While testing Flutter apps on a connected (by USB) Android (Samsung S5, running API 23) device using:
Android Studio 20201.3.1 Patch 3
Mac OS Monterey
The app will run on the device the first time, ...
-1
votes
1
answer
509
views
Flutter textfield behaves strange (updating with the wrong value)
I ran into a weird behavior related to the TextFormField, so I maintained a list of Objects in the parent widget, I'm using the following code to render a list of child widgets
children: <Widget&...
8
votes
6
answers
9k
views
Console Messages in Flutter
I am currently in the master channel in Flutter on Version 2.6.0-12.0.pre.406 and every time i run an app im getting these strange messages in the console and i just wanna know why and what they mean ...
0
votes
2
answers
122
views
Flutter Debugging issue when changing Orientation in emulator
I make responsive UI design in flutter. Then I debuged it in my android emulator. First orientation was portrait and It was a good. Then I changed Orientation and it was a bad UI which isn't expected. ...
0
votes
0
answers
1k
views
Flutter error when run : [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]
My problem is when I run the application (New flutter project without any more coding) on my android mobile the following error appears:
Launching lib\main.dart on INE LX1 in debug mode...
Running ...
0
votes
2
answers
1k
views
Could not determine the dependencies of task ':app:compileFlutterBuildDebug'
I am new to flutter and facing this issue while running my app Could not determine the dependencies of task ':app:compileFlutterBuildDebug'
FAILURE: Build failed with an exception.
* Where:
Script '/...
2
votes
2
answers
3k
views
Flutter Execution failed for task ':app:processDebugManifest'
I am new with Flutter, at first my projects were running good but suddenly I started getting this problem:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:...
6
votes
1
answer
3k
views
How to solve flutter project compile Debug Kotlin error
I'm new to flutter development. I used audioplayers: ^0.19.0 package in one project but when the project runs on an emulator it pops up with big error messages. Can you guys please help me to solve ...
1
vote
1
answer
2k
views
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: ...
0
votes
0
answers
68
views
Flutter is not recognized as internal or external command after run without debugging
This problem occurs when i try to run application after doing some changes to the code. I try to run using vscode command Run Without Debugging and this problem occurs. It works when i delete sdk ...
0
votes
0
answers
176
views
apk not installing if install then showing blank screen.Flutter dart language
I am working on the Dart language.I generate split-per-abi (.apk) as well as release (.apk).After that when I try to install it did not install on some devices or in which this apk installs it's did ...
2
votes
0
answers
445
views
Flutter debug runs on one iOS 14 device, but won't run on another iOS 14 device
I have two iOS devices, iPhone 8 and iPhone 12 mini, both runs iOS 14.4.
Flutter debug works normally on iPhone 8, but it won't launch app on iPhone 12 mini. It will hang on launch screen and then ...