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

Execution failed for task ':easy_pdf_viewer:verifyReleaseResources'. #34

Open
ankittiwari25 opened this issue Aug 15, 2024 · 5 comments

Comments

@ankittiwari25
Copy link

ankittiwari25 commented Aug 15, 2024

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':easy_pdf_viewer:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed
ERROR:/Users/chintanpandya/Ankit/my-CPE flutter/build/easy_pdf_viewer/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.

BUILD FAILED in 1m 7s

### Getting this error when creating release build, it's working fine when working on the debug mode. This happend when i updated the Flutter sdk to the latest version [3.24.0]

### Note :- This issue is coming after latest flutter upgrade
Flutter 3.24.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 80c2e84975 (2 weeks ago) • 2024-07-30 23:06:49 +0700
Engine • revision b8800d88be
Tools • Dart 3.5.0 • DevTools 2.37.2

Screenshot 2024-08-15 at 17 04 58
@asadbekdev
Copy link

I'm having same issue

@ShankarKakumani
Copy link

I am also having same issue

@ShankarKakumani
Copy link

How to resolve this?

  • What went wrong:
    Execution failed for task ':easy_pdf_viewer:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed
ERROR:/Users/shankarkakumani/StudioProjects/binaryveda/harmoni/individual_app/build/easy_pdf_viewer/intermediates/merged_res/release/values/values.xml:194: AAPT: error: resource android:attr/lStar not found.

@Sandeep-Kumar-Thakur
Copy link

I'm having same issue

@ShankarKakumani
Copy link

I'm having same issue

note: I have only done this for myself. And sharing the information with you incase it helps/unblocks you.
Hi @Sandeep-Kumar-Thakur, I have updated the libraries and minSDK version for the library.

https://github.com/ShankarKakumani/pdf_viewer/tree/main

it is resolved for me now. I have raised an PR/MR. Let's see if it gets merged.
if not, feel free to use the repo I currently have or fork a new one from my repo and use it.

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

4 participants