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

Build failed in android with flutter version 3.24.0 #156

Open
saminsohag opened this issue Aug 14, 2024 · 1 comment
Open

Build failed in android with flutter version 3.24.0 #156

saminsohag opened this issue Aug 14, 2024 · 1 comment

Comments

@saminsohag
Copy link

Command:

flutter build apk --split-per-abi

Output:


Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 1868 bytes (99.9% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_js:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR:/Users/sohag/Documents/Projects/Flutter/fanim/example/build/flutter_js/intermediates/merged_res/release/values/values.xml:194: AAPT: error: resource android:attr/lStar not found.


* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 11s
Running Gradle task 'assembleRelease'...                           12.0s
Gradle task assembleRelease failed with exit code 1
@MSOB7YY
Copy link

MSOB7YY commented Aug 16, 2024

flutter/flutter#153281 (comment)

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

2 participants