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 ':flutter_pdfview:verifyReleaseResources'. #95

Open
ashtav opened this issue Apr 6, 2023 · 4 comments
Open
Labels
bug Something isn't working

Comments

@ashtav
Copy link

ashtav commented Apr 6, 2023

Describe the bug

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

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed
ERROR:D:\Development\Mobile\Flutter3\testpackage\build\flutter_pdfview\intermediates\merged_res\release\values\values.xml:132: AAPT: error: resource android:attr/lStar not found.

To Reproduce
Steps to reproduce the behaviour:
Just run command, flutter run --release on Terminal

Additional context

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.7.10, on Microsoft Windows [Version
    10.0.19044.2728], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or
    higher)
[√] Android toolchain - develop for Android devices (Android SDK
    version 30.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022
    17.2.1)
[√] Android Studio (version 4.2)
[√] VS Code (version 1.77.1)
[√] Connected device (4 available)
[√] HTTP Host Availability

• No issues found!
@ashtav ashtav added the bug Something isn't working label Apr 6, 2023
@karthik-gowda
Copy link

Same issue while building apk

@nishantvekariya21
Copy link

nishantvekariya21 commented Apr 11, 2023

Same issue while creating apk

@bheuju
Copy link

bheuju commented Apr 16, 2023

Force 1.2.9 version of flutter_pdfview and build.

Add this in your pubspec.yaml

dependency_overrides:
  flutter_pdfview: 1.2.9

Then do: flutter clean/build

@arpankanwer
Copy link

Force 1.2.9 version of flutter_pdfview and build.

Add this in your pubspec.yaml

dependency_overrides:
  flutter_pdfview: 1.2.9

Then do: flutter clean/build

Thanks, It worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants