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

error #318

Open
ahmedtalal opened this issue Sep 19, 2024 · 3 comments
Open

error #318

ahmedtalal opened this issue Sep 19, 2024 · 3 comments

Comments

@ahmedtalal
Copy link

After upgrading Flutter to the latest version of Flutter and running the Flutter build APK, I get this error
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:/home/user/Documents/fedis_project/digital_identity/build/image_gallery_saver/intermediates/merged_res/release/values/values.xml:194: AAPT: error: resource android:attr/lStar not found.
And I used the latest version of the package

@knottx
Copy link

knottx commented Oct 4, 2024

Try this #295

@saajits1828
Copy link

saajits1828 commented Feb 25, 2025

After upgrading Flutter to the latest version of Flutter and running the Flutter build APK, I get this error 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:/home/user/Documents/fedis_project/digital_identity/build/image_gallery_saver/intermediates/merged_res/release/values/values.xml:194: AAPT: error: resource android:attr/lStar not found.
And I used the latest version of the package

For flutter: 3.27.4

add this in android /build.gradle

subprojects {
afterEvaluate { project ->
if (project.hasProperty('android')) {
project.android {
compileSdkVersion 34 // Set compile SDK version to 34 for all packages
defaultConfig {
targetSdkVersion 34 // Set target SDK version to 34 for all packages
}
}
}
}
}

it should work and it will work for other libraries too.

@knottx
Copy link

knottx commented Feb 25, 2025

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

3 participants