After adding this package it shows this error and after second run it shows that the upgrade your kotlin version even it is upgraded to latest one
FAILURE: Build failed with an exception.
- 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:F:\cm\build\flutter_pdfview\intermediates\merged_res\release\values\values.xml:132: 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
Try use flutter_pdfview: 1.2.9
I faced the same issue, but resolved it by downgrading and using 1.2.9.
Any idea on how to really resolve it? Using a downgraded version doesn't sound like a long term solution to me. Thanks!