Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Build apk (flutter version 3.24.0 ) #879

Open
someshswami9 opened this issue Jan 2, 2025 · 0 comments
Open

Unable to Build apk (flutter version 3.24.0 ) #879

someshswami9 opened this issue Jan 2, 2025 · 0 comments

Comments

@someshswami9
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant