Description
The problem is
I have the flutter version of 3.24.0
I haven't build the android app because it already on playstore and now I wanted to build the new features in app but now I am unable to build getting different types of errors, But working fine for the ios.
Why I don't know.
flutter build apk --dart-define=FLAVOR=prod --obfuscate --split-debug-info=build/app/outputs/symbols
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':image_gallery_saver:verifyReleaseResources'.
A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed
ERROR:C:....\build\image_gallery_saver\intermediates\merged_res\release\values\values.xml:194: AAPT: error: resource android:attr/lStar not found.
The above error not only for the image_gallery but it is all for the pub depedencies .
......
PS C:.....\mydibs> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.24.0, on Microsoft Windows [Version 10.0.22631.4602], locale en-IN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.5.5)
[√] Android Studio (version 2024.1)
[√] VS Code (version 1.96.2)
[√] Connected device (3 available)
[√] Network resources
I have tried to upgrade to the latest version that is more fiasco. So I have to downgrade again for less issues.