All Questions
8,944 questions
0
votes
0
answers
46
views
How to make SVG elements interactive in Flutter to make Floor Map (Tap & Zoom)?
I am working on a Flutter application where I need to parse and manipulate an SVG file. The SVG contains different elements like polygon, rect, and path. Here an example snippet.
<svg xmlns="...
0
votes
1
answer
35
views
Plugin Upgrader.dart flutter not work - Can't find an app in the Play Store with the id
I'm trying to make force update for user so user can't skip the update, i'm already use in_app_update and ask here My Question but not found solution
so now i use plugin Upgrader in my flutter but ...
-1
votes
2
answers
63
views
How to track referrer in a Flutter app after Play Store install? [closed]
How to track referrer in a Flutter app after Play Store install?
Question:
Hey Flutter devs,
I'm working on a referral system for my Flutter app (UDealZone) which is currently live on playstore, and I ...
1
vote
0
answers
24
views
Execution failed for task ':app:mapDebugSourceSetPaths'. Cannot access input property 'localResources' of task ':app:mapDebugSourceSetPaths'
I'm having this problem when running an Android project in Flutter.
I tried to solve the problem by reading this solution: Execution failed for task ':app:mapDebugSourceSetPaths'. > Error ...
2
votes
2
answers
102
views
How to fix 'cannot find symbol' error for Registrar in Razorpay_Flutter plugin on Flutter 3.29.0?
I'm using the razorpay_flutter plugin in my Flutter project, but when I try to build the app, I get the following error:
error: cannot find symbol
import io.flutter.plugin.common.PluginRegistry....
1
vote
2
answers
54
views
Listview does not scroll to the end but only to a certain point and i don't know why. flutter
I creating chatbot app, and i have a problem with listview when i send message listview scroll only to certain point but should to the end.
import 'package:ai_language_learning_app/features/chat/...
0
votes
0
answers
27
views
Flutter Audio Playback Issue on Physical Device - How do I fix it?
My App is made in Flutter/Dart.
I am Using Just_Audio Package from Pub.dev
The app works fine on web test, but in Phone/Physical Device test it is not playing sound, its a **launchpad **app which play ...
1
vote
0
answers
53
views
How to solve Execution failed for task ':notification_permissions:compileDebugJavaWithJavac' [closed]
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':notification_permissions:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for ...
2
votes
1
answer
38
views
Is there a straightforward, standard way to intercept pops, WHILE the widget tree is still available?
Right now I have
return PopScope(
canPop: false,
onPopInvokedWithResult: (bool didPop, Object? result) async {
if (result == null){
final navigator = Navigator.of(context);
await ...
4
votes
0
answers
54
views
How do I resolve "Your project requires a newer version of the Kotlin Gradle plugin" error in my Flutter project?
I'm working on a Flutter project and while attempting to build a release APK (or running a Gradle assembleRelease task), I encounter the following error:
FAILURE: Build failed with an exception.
...
0
votes
0
answers
24
views
Flutter App Crashing in Vivo and Opp Devices
I am building a Flutter app. It runs smoothly in debug mode but crashes in release mode on the Play Store, especially on some Vivo and Oppo devices.
Below are the logs received from the Play Console.
...
4
votes
2
answers
186
views
Flutter native splash showing only background on apk installation launch
ISSUE:
Flutter native splash is showing only the background when launched right after installing with APK (first launch). But when later opened the, the main image and branding is shown. When ...
1
vote
0
answers
55
views
Having an issue with building an apk file to android, it builds on web but on mobile no
I don't understand why the open-file-manager is against Android SDK 35, when I bring it back to 34 it refuses, back to 35 still refuses, when I upgrade the Kotlin version to 1.9.0 still does not work,...
3
votes
0
answers
104
views
Flutter Native Splash Icon Appears Pixelated
I am using the flutter_native_splash package to set up a splash screen for my Flutter app. However, the app icon in the splash screen appears pixelated and blurry, even though I am using a high-...
1
vote
2
answers
96
views
How to show Snackbar only once
I am Calling an api when item is added to cart and if its success the snackbar will show for success but what if user added one after one too many products then the all snackbars will show one by one ...
0
votes
1
answer
60
views
Flutter "always on display" functionality not working
I am trying to create a simple app that shows a quote on my phone device, after I lock the device. So, I am trying to obtain a behavior that after I lock my screen, I have a black screen, and there I ...
1
vote
3
answers
171
views
Flutter 3.29 : HttpException: Connection closed before full header was received
Since I upgraded the Flutter version to 3.29, I have the following error when launching the application:
Error connecting to the service protocol: failed to connect to http://127.0.0.1:55395/YqaWniI6U-...
1
vote
0
answers
38
views
flutter_stripe Initialization Failed - Theme.AppCompat / MaterialComponents
Description
I am trying to use flutter_stripe version 11.4.0 in my Flutter application, but Stripe fails to initialize with the following error:
PlatformException(flutter_stripe initialization failed, ...
1
vote
1
answer
505
views
Error building Application: NDK did not have a source.properties file
i believe i have done something wrong during installation a package while writing the code, now every time i try to run the application this shows up
Launching lib\login.dart on AOSP on IA Emulator in ...
1
vote
0
answers
36
views
Flutter app not applying RTL layout even after setting Directionality and locale
Question:
I’m trying to make my Flutter app fully RTL (Right-to-Left), but no matter what I do, the app remains LTR (Left-to-Right). I’ve tried several methods, including:
1. Setting locale: Locale('...
1
vote
0
answers
28
views
How to add a local Android package/module to a Flutter package
I working on a forked Flutter package (vocsy_epub_reader) that integrates an Android library called Folioreader. I'm currently modifying Folioreader, but I can't figure out how to load a local version ...
1
vote
1
answer
53
views
Sending email with mailer flutter package on Smtp outlook provider
I'm trying to send an email with the latest version of the flutter mailer package. I also want to use outlook as the smtp server.I configured an azure account to get my application token in order to ...
1
vote
1
answer
119
views
Error: Type 'UnmodifiableUint8ListView' not found. final UnmodifiableUint8ListView bytes;
i try to build and run my android project but return this error. how to solve them ya? ive tried so many solutions shared in other stack (upgrade/downgrade dart) but still did not work. can someone ...
1
vote
2
answers
71
views
I am getting this error while trying to run the emulator in Android Studio
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugKotlin'.
> Multiple build operations failed.
Cannot parse result path string: ...
1
vote
0
answers
388
views
Android Studio Error handling SDK processing. This version only understands SDK XML versions up to 3 but an SDK XML file of version 4
My program versions from flutter terminal:
Flutter 3.27.3 • channel stable •
https://github.com/flutter/flutter.git Framework • revision
c519ee916e (3 weeks ago) • 2025-01-21 10:32:23 -0800 Engine •
...
0
votes
0
answers
27
views
Is it possible to add a clickable Google map POI eventlistener in flutter
I'm making an android app that use google map SDK. My app need to to be able to click on the POI that are shown to get the place information, however, I am unable to get the POI info. The was a ...
0
votes
0
answers
16
views
Flutter Submodules Cause Dart Files to Be Unrecognized in Android Studio
Issue:
I have a Flutter project with git submodules, and Android Studio does not recognize Dart files when I open the project. The issue happens across multiple versions of Android Studio (both ...
0
votes
1
answer
77
views
Flutter:- MainActivity.kt:4:8 Unresolved reference: io
I'm getting the below issue.
Running Gradle task 'assembleDebug'...
e: file:///Users/technologies/Documents/MyComputer/project_git/android/app/src/main/kotlin/com/example/testproject/MainActivity.kt:4:...
0
votes
0
answers
25
views
How to run this code emulator @react in the terminal :flutter
When I type this code: emulator @reactto run the emulator it shows:
emulator: The term 'emulator' is not recognized as a name of a cmdlet, function, script file, or executable program.
I don't know ...
4
votes
0
answers
508
views
Getting google api headers & flutter_facebook_auth dependencies error
Getting these errors on my code. Tried upgrading the dependencies of google_api_headers & facebook, but the issue continues.
Current dependencies - google_api_headers: ^1.0.0,
...
0
votes
0
answers
26
views
Flutter device orientation lock info
Do you know a way to get info about orientation locked or not?
I used package https://pub.dev/packages/rotation_check, but its working only on android, what about iOS? Is it possible?
0
votes
2
answers
68
views
Is there a way to directly callback from C/C++ to Dart on the Android platform?
I know that it's possible to call C/C++ from Dart using FFI, but it seems that on Android, there's no way to call Dart directly from C/C++.
While Dart_PostCObject is used to send data from C/C++ to ...
2
votes
6
answers
1k
views
Gradle Build Failed: NullPointerException in error_prone_annotations-2.36.0.jar during Dexing
'm facing an issue while building my Android project with Gradle. The build fails with a NullPointerException related to error_prone_annotations-2.36.0.jar. Here’s the full error message:
ERROR: C:\...
0
votes
0
answers
45
views
Flutter Camera Improving Quality
I'm experiencing image quality issues after implementing image rotation in my Flutter app (the camera code). Previously, my app produced high-quality images (~11MB), but after adding orientation ...
0
votes
0
answers
29
views
What to expect when using CombineLatestStream with throttle for streams with different frequencies?
Im trying to combine 3 streams
accelerometer stream from sensors_plus
orientation stream from flutter_rotation_sensor
location stream from geolocator
Im using CombineLatestStream from rxdart to ...
0
votes
1
answer
30
views
Using HydratedBloc -- LateInitilizationError Field '__storage@30190796' has not been initialized
I am trying to learn Flutter and Bloc/ HydratedBloc. I can't seem to get past an exception I keep getting when trying to save a value to local storage. I have tried creating this new simpler project, ...
0
votes
0
answers
29
views
Flutter - Open a page after app goes into minimized mode
I want to show an authentication page AuthPage() in my case after the app is resumed from minimized state, i am using WidgetsBindingObserver but it isnt working:
class _MainAppState extends State<...
0
votes
1
answer
33
views
Unable to get android location permission
I have a problem with a flutter project I'm making. I'm using googlemaps API as a map and so far, the map is loading but I am unable to get my current location. I call my initLocation method to get my ...
-2
votes
1
answer
45
views
I am developing a Flutter app and want to restrict app usage if the user changes the device's date using system settings
How can I continuously monitor the device date in real time, even while the app is running in the foreground or background?
1
vote
0
answers
30
views
Flutter App Crashes During Real-time Audio Playback with Fatal Signal 6 (SIGABRT)
Description
I am developing a Flutter app designed to assist people with hearing impairments by playing real-time audio from the microphone to the speaker. The app uses a recorder to capture audio and ...
0
votes
0
answers
50
views
Synchronous I/O Operations in Dart
I am porting an Android Native project written in Java to a flutter, specifically targeting Android, that has to read data from and write data to a physical hardware device, using the USB Serial Port.
...
0
votes
0
answers
59
views
How to draw this shape in flutter using custom painter
I want to draw this arrow shape in flutter using custom painer, this shape is like a cursor
the most important thing is that the corners should be rounded.
Here is my current code:
CustomPaint(
...
0
votes
0
answers
60
views
Flutter red screen of death with Flutter Run
I am running into an issue where when I do "flutter run" from VS Code, i get a red screen of death with message
"'package:dio_http_formatter/src/dio_http_formatter_base.dart': Failed ...
0
votes
0
answers
33
views
Android, flutter,dart, flutter, flutter_libserialport 0.4, error : SerialPortError: No such file or directory, errno = 2
before the problem, i already tested/debug using window application and open/read like COM3 or COM5 and it worked perfectly but as ANDROID platform which was installed in a android device it returned &...
1
vote
0
answers
96
views
Flutter/Android Studio Build Failure: 'jlink does not exist' and 'Could not resolve all files for configuration' Issues
i am completely desperate here.
i've been working with android studio for years and started using flutter a few months ago. until now everything has worked great, but since yesterday nothing works ...
1
vote
1
answer
50
views
gradle Gradle task assembleDebug failed with exit code 1 (first test flutter app) intilij and android studio
`Launching lib\main.dart on SM A307FN in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:...
1
vote
0
answers
40
views
In Flutter the error occurs after adding any new dependencies to the pubspec.yaml file
I'm facing a frustrating issue while trying to run my Flutter project on an Android emulator. The error occurs after adding any new dependencies to the pubspec.yaml file.
Here's the error snippet:
...
0
votes
1
answer
115
views
Not able to run app in Android Flutter Kotlin version problem
I am getting this problem from too many days I don't know why please anyone can help me in this I'm stuck
when i try to run my app in android this error occurs
e: file:///Users/rajpurohittanu/.pub-...
0
votes
0
answers
46
views
Late Initialization Error when attempting to access a Riverpod Provider that was overridden in the Provider Scope
I am trying to use Riverpod Provider to store a global variable of the user's location that can be access from multiple pages. The idea is to use a function call getLocation() to get the location ...
0
votes
0
answers
76
views
Remote Config values always returning null for Flutter/Firebase application
I'm trying to set up a force update message in my application. In Firebase Remote Config i am defining:
latest_ios_app_version = 2.1.0
minimum_ios_app_version = 2.0.0
latest_android_app_version = 2.1....