Open yamini-chaudhary opened 7 months ago
i got this error also
Got this error also. only when generating apk. when generating app bundle that works fine
i got this error also
use this instead https://pub.dev/packages/video_cached_player
Got this error also. only when generating apk. when generating app bundle that works fine
use this instead https://pub.dev/packages/video_cached_player
FAILURE: Build failed with an exception.
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':cached_video_player:verifyReleaseResources' > An error occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action > Android resource linking failed ERROR:E:\GraduationDesign\FlutterEnglishHub\flutter_english_hub\build\cached_video_player\intermediates\merged_res\release\values\values.xml:141: AAPT: error: resource android:attr/lStar not found. I also have this error, but I use appinio_video_player which uses this cache_video_player |-- appinio_video_player 1.3.0 | |-- cached_video_player 2.0.4 | | |-- flutter... | | |-- flutter_test... | | |-- meta... | | |-- video_player_platform_interface... | | '-- video_player_web... | '-- flutter...
Any solution, I looking for one now.
i got this error also
use this instead https://pub.dev/packages/video_cached_player
does it have the same functionality as appinio?
Consider using the following snippet to override the cached_video_player
dependency with the Gradle bump fix branch within this repo. This should fix the APK build issues.
In your pubspec.yaml
add the following:
dependency_overrides:
cached_video_player:
git:
url: https://github.com/vikram25897/flutter_cached_video_player
ref: feature/gradle_version_bump
Execution failed for task ':cached_video_player:verifyReleaseResources'.
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\HP\AppData\Local\Android\sdk • Platform android-34, build-tools 34.0.0 • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231) • All Android licenses accepted.
[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop Windows apps X Visual Studio not installed; this is necessary to develop Windows apps. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2022.3) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
[√] VS Code (version 1.89.0) • VS Code at C:\Users\HP\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.88.0
[√] Connected device (4 available) • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 13 (API 33)
(emulator) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22000.2538] • Chrome (web) • chrome • web-javascript • Google Chrome 124.0.6367.63 • Edge (web) • edge • web-javascript • Microsoft Edge 120.0.2210.144
[√] Network resources • All expected network resources are available.