Questions tagged [flutter-android]
304 questions
165
votes
31 answers
Flutter.io Android License Status Unknown
>[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
>>• Android SDK a ..\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
…

tdmiller
- 2,102
- 2
- 13
- 28
106
votes
61 answers
Flutter stuck at Installing build\app\outputs\apk\app.apk
When I run:
$ flutter run
I'm getting a prompt on my mobile device asking if I want to install the app on my device. I give yes, then nothing happens!
It's stuck here:
Launching lib/main.dart on POCO F1 in debug mode...
Initializing gradle... …

Vishnu
- 1,757
- 2
- 11
- 19
65
votes
8 answers
how to build apk create old version app in Flutter
I am trying to build my release app in Flutter and when I run:
flutter run
everything works fine in debugging and test mode. But when I was trying to build a release app with:
flutter build apk
it creates an old first-release app of mine. That I…

javad bat
- 4,236
- 6
- 26
- 44
14
votes
6 answers
Can't build release APK for flutter
I'm currently trying to build a signed release APK on Windows using Flutter. I've performed the tasks outlined in the documentation on the flutter site. When I run the build command here's the output I get. It seems to be around the firebase…

marktechson
- 409
- 1
- 3
- 10
13
votes
1 answer
What is the difference between Flutter Android Embedding V1 and V2
I am working on a plugin for Flutter with background stuff.
Recently, I faced somethings about Flutter android embedding in the android_alarm_manager plugin.
A part of the README says:
For the Flutter Android Embedding V1, the background service…

Mahdi-Malv
- 16,677
- 10
- 70
- 117
11
votes
3 answers
How to save website for offline in flutter mobile
Important note - I want this functionality for mobile apps only, not for flutter web.
I am having some trouble saving the website inside the flutter app. I have tried using the cache method and savewebarchive method for the inappwebview. The issue…

raj kavadia
- 926
- 1
- 10
- 30
10
votes
1 answer
How to resolve weird and incomplete Uri & Path received while directly sharing image from android gallery to my flutter app
I have written a functionality in Kotlin for the flutter app to share media files directly from the android phone gallery to the app.
Working fine for many devices I have tested like Realme 3 Pro, Oneplus 6t, Samsung m40.
But, for Asus Zenfone Max…

Sourav Singh Rawat
- 119
- 3
10
votes
1 answer
How to send FormData with Dio?
Hello I am sending a FormData using Dio but when this is sent, the website returns an error
var formData = FormData.fromMap({
"ctl00\$ScriptManager1": "ctl00\$UpdatePanel1",
"__EVENTTARGET" :"ctl00\$cphPage\$productsControl",
…

Ernesto Enrique Sanchez
- 105
- 1
- 1
- 4
9
votes
7 answers
Unable to compile Flutter application with Flutter 1.22.3
My application was compiling successfully until the Flutter version upgrade.
I get the following error:
Runner.app/Info.plist does not exist. The Flutter "Thin Binary" build phase must run after "Copy Bundle Resources".
Flutter doctor -v
[✓]…

fvisticot
- 7,936
- 14
- 49
- 79
8
votes
3 answers
TextField hides behind Keyboard in Flutter 3.0.0
I cannot get CustomScrollView to work properly.
Before flutter 2.13.0-0.2.pre, tapping on a TextFields inside a CustomScrollView automatically adjusts the TextField above the keyboard as it opens.
On downgrading my flutter version to 2.11.0-0.1.pre…

Brendan
- 910
- 1
- 14
- 32
8
votes
1 answer
Flutter Android gradle plugin to version 3.2.0 or higher
I have already update the latest Android Gradle version but still showing the error when generating the signed bundle.
generating signed bundle requires you to update the android gradle plugin to version 3.2.0 or higher
Below i have share the…

Alpit Panchal
- 709
- 1
- 7
- 25
7
votes
1 answer
Use a function declaration to bind a function to a name
I am new to flutter. I was using the camera plugin to add the camera to my app. And I got this warning Use a function declaration to bind a function to a name. How can I solve this one?
Code -
Widget _cameraTogglesRowWidget() {
final…

Maahdi.Codes
- 99
- 2
- 8
7
votes
2 answers
Why flutter UI lag while soft keyboard appearing and disappearing?
When I click text fields on the main page (main.dart) which is the default dart given by the flutter. I can see a glitch when soft keyboard appears and there is no delay when soft keyboard disappears.I have attached a gif below for this case.
void…

Isuru Bandara
- 310
- 1
- 3
- 14
7
votes
5 answers
Fire Storage Exception ([firebase_storage/unauthorized] User is not authorized to perform the desired action.) (my rule is allow read/write)
I am trying to get images from firebase firestore, while trying to get image download url there is this exception :
W/StorageUtil(10206): no auth token for request
(similar questions with this error not solve the problem)
Although my security rules…

cansu
- 958
- 1
- 12
- 23
6
votes
3 answers
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 and if i can ignore these. This even happens…

Der Korrigierer
- 85
- 1
- 9