-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Issue Title
Build Failure: :unique_identifier:verifyReleaseResources Task Failed
Description
The build process failed for the :unique_identifier module during the release build with the following exception:
Execution failed for task ':unique_identifier:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
> Android resource linking failed
ERROR: D:\Programming\flutter_projects\Freelance\Rasid Apps\rasid-dashboard\build\unique_identifier\intermediates\merged_res\release\values\values.xml:194: AAPT: error: resource android:attr/lStar not found.
Steps to Reproduce
- Attempt to build the release version of the application.
- Observe the failure during the
verifyReleaseResourcestask of the:unique_identifiermodule.
Expected Behavior
The release build should succeed without any resource linking errors.
Actual Behavior
The build fails due to a missing android:attr/lStar resource during the verifyReleaseResources task.
Possible Solutions
- Verify the Android Gradle Plugin version. Update to a version that supports the
android:attr/lStarattribute. - Update the compile SDK version in the
build.gradlefile to a level that includes this attribute (e.g., SDK 31 or above).
Logs and Output
Relevant Log Snippet:
> Android resource linking failed
ERROR: D:\Programming\flutter_projects\Freelance\Rasid Apps\rasid-dashboard\build\unique_identifier\intermediates\merged_res\release\values\values.xml:194: AAPT: error: resource android:attr/lStar not found.
Additional Context
This issue often arises when there is a mismatch between the Android Gradle Plugin version and the compile SDK version. Ensure the dependencies and plugins are compatible with the project's target SDK version.
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels