flutter_packages
flutter_packages copied to clipboard
[ BUG ] : * What went wrong: Execution failed for task ':cached_video_player:verifyReleaseResources'. > A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action > Android resource linking failed ERROR:C:\salin_salita\salinsalita\build\cached_video_player\intermediates\merged_res\release\values\values.xml:141: AAPT: error: resource android:attr/lStar not found.
While running flutter build apk I continuously get that error.
Me too. I had to revert to building an appbundle instead of an apk to get around it, as I don't face this issue when running flutter build appbundle
unlike flutter build apk
I'm also getting an error when building, is there a solution yet?
same error
Consider using the following snippet to override the cached_video_player
dependency with the Gradle bump fix from a forked repo. This should fix the APK build issues.
In your pubspec.yaml
add the following:
dependency_overrides:
appinio_video_player:
git:
url: https://github.com/JahnChoi/appinio_flutter_packages
path: packages/appinio_video_player
ref: feature/switch-cached-video-player-dep
Just created a PR to resolve this issue for the main package as well: #291
i solved my problem by adding this : dependency_overrides: appinio_video_player: git: url: https://github.com/JahnChoi/appinio_flutter_packages path: packages/appinio_video_player ref: feature/switch-cached-video-player-dep
thank you for you. appinio_video_player: ^1.3.0 logger: ^1.4.0 #geolocator: ^10.1.0 flutter_localizations: sdk: flutter dependency_overrides: appinio_video_player: git: url: https://github.com/JahnChoi/appinio_flutter_packages path: packages/appinio_video_player ref: feature/switch-cached-video-player-dep
how to solved this error in flutter ,if i created the flutter apk
- What went wrong: Execution failed for task ':cached_video_player:verifyReleaseResources'.
A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action Android resource linking failed ERROR:D:\codesteam\truckstop\build\cached_video_player\intermediates\merged_res\release\values\values.xml:203: AAPT: error: resource android:attr/lStar not found.