172 questions
1
vote
1
answer
68
views
How to analyze Flutter iOS app size and see which plugins/assets take the most space?
I want to analyze my Flutter app size for iOS and find out:
Which pub.dev plugins are taking how much space.
How much space my assets contribute.
The size from my own Dart code (lib/) and native ios/ ...
1
vote
3
answers
91
views
BuildContext in async method in flutter get warning: "Don't use 'BuildContext's across async gaps"
I have an API call inside my flutter application. After that API returned, I need to navigate to other screen, but a warning is shown:
Don't use 'BuildContext's across async gaps. Try rewriting the ...
4
votes
1
answer
1k
views
FlutterPlugin.kt and FlutterPluginUtils.kt error while running project in Flutter 3.32.0
Hi I started getting error after I upgraded my Flutter version in MacOS Sequioa (15.5 (24F74)
Running Gradle task 'assembleDebug'...
e: file:///Users/.../development/flutter/packages/flutter_tools/...
1
vote
1
answer
791
views
Flutter APK Build Fails: AAPT2 Error - "RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data" for android-35
I am trying to build a Flutter APK using the command:
flutter build apk
But I am getting this error:
* What went wrong:
Execution failed for task ':flutter_plugin_android_lifecycle:...
0
votes
1
answer
105
views
Null Check used on Null value
trying to generate api client file using retrofit but getting error on one specific file which says null check operator used on null value and the error log using --verbose for build_runner is
Null ...
1
vote
0
answers
164
views
Unresolved reference: io, Unresolved reference: FlutterActivity
Unresolved reference: io and Unresolved reference: FlutterActivity error when try to flutter build apk.
Tried solution : I open the android folder on Android Studio and some dependency downloaded ...
0
votes
1
answer
1k
views
Flutter problem when building the app from app_links
Support for Android x86 targets will be removed in the next stable release after 3.27. See
https://github.com/flutter/flutter/issues/157543 for details.
You are applying Flutter's app_plugin_loader ...
0
votes
1
answer
35
views
flutter build failed with exception
This is the error:
Execution failed for task ':app:packageRelease'.
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
> ...
1
vote
0
answers
23
views
Why are two new lines in the `GeneratedPluginRegistrant.java` change back and forth all the time?
I have one Flutter project where pretty frequently between build the GeneratedPluginRegistrant.java has two new line changes in the import section. I commit the change and pretty soon it is changing ...
0
votes
1
answer
121
views
Flutter signing Android App Bundle (aab) with incorrect key different from the one configured in key.properties file
I'm trying to upload an app bundle to the Play Console and I'm always getting a message saying that the key used is different from the correct one.
The message:
Your Android App Bundle was signed ...
1
vote
0
answers
19
views
Analyzer exclude also suppresses errors
In my analysis_options.yaml I wrote an exclude for generated files
analyzer:
exclude:
- lib/**.g.dart
I noticed that it also suppresses errors though, not just linting warnings. This is a ...
0
votes
0
answers
12
views
How do i fix my flutter app which keeps crashing?
I've built my app in Debug, Release, and Profile, but each time I install it and launch it on my device, on my Android phone, it keeps crashing and returning back to the home screen. I've even ...
4
votes
0
answers
3k
views
Flutter Build Failed: Execution Failed for Task ':path_provider_android:compileDebugJavaWithJavac' Due to JdkImageTransform Error
I'm encountering a build error while trying to run my Flutter project using Android Studio Hedgehog on Windows 11. The error specifically occurs during the :path_provider_android:...
-1
votes
1
answer
142
views
I am facing an issue from making build of an app in flutter
Try to build an flutter app
i am trying to build an app i am trying flutter build appbundle command and i am facing this issue
error :
Warning: SDK processing. This version only understands SDK XML ...
0
votes
1
answer
694
views
AGP Upgrade Assistant
What went wrong:
A problem occurred configuring project ':connectivity'.
Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
Namespace not specified. ...