You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../storyflix/lib/src/widgets/movie_player.dart:18:8: Error: Type 'CachedVideoPlayerController' not found.
late CachedVideoPlayerController _videoPlayerController;
^^^^^^^^^^^^^^^^^^^^^^^^^^^
../storyflix/lib/src/widgets/movie_player.dart:18:8: Error: 'CachedVideoPlayerController' isn't a type.
late CachedVideoPlayerController _videoPlayerController;
^^^^^^^^^^^^^^^^^^^^^^^^^^^
../storyflix/lib/src/widgets/movie_player.dart:24:9: Error: The getter 'CachedVideoPlayerController' isn't defined for the class '_MoviePlayerState'.
- '_MoviePlayerState' is from 'package:storyflix/src/widgets/movie_player.dart' ('../storyflix/lib/src/widgets/movie_player.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'CachedVideoPlayerController'.
CachedVideoPlayerController.network(widget.videoUrl.toString());
^^^^^^^^^^^^^^^^^^^^^^^^^^^
To Reproduce
Steps to reproduce the behavior:
Set up player as per example code in pub.dev
Run the app
Get the error
Expected behavior
the CachedVideoPlayerController class exported by the appinio_video_player package should be available to the consuming app.
Screenshots
N/A - it would only be a picture of the error above
Desktop (please complete the following information):
OS: Windows
Browser Chrome 124.0.6367.119
Version 22H3
Smartphone (please complete the following information):
So, I did a little digging and the issue lies with the cached_video_player package. It needs to be updated to be compatible with AGP 8
Incorrect package="com.lazyarts.vikram.cached_video_player" found in source AndroidManifest.xml: C:\Users\gbrew\AppData\Local\Pub\Cache\hosted\pub.dev\cached_video_player-2.0.4\android\src\main\AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
Recommendation: remove package="com.lazyarts.vikram.cached_video_player" from the source AndroidManifest.xml: C:\Users\gbrew\AppData\Local\Pub\Cache\hosted\pub.dev\cached_video_player-2.0.4\android\src\main\AndroidManifest.xml.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':cached_video_player:processDebugManifest'.
> A failure occurred while executing com.android.build.gradle.tasks.ProcessLibraryManifest$ProcessLibWorkAction
> Incorrect package="com.lazyarts.vikram.cached_video_player" found in source AndroidManifest.xml: C:\Users\gbrew\AppData\Local\Pub\Cache\hosted\pub.dev\cached_video_player-2.0.4\android\src\main\AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
Recommendation: remove package="com.lazyarts.vikram.cached_video_player" from the source AndroidManifest.xml: C:\Users\gbrew\AppData\Local\Pub\Cache\hosted\pub.dev\cached_video_player-2.0.4\android\src\main\AndroidManifest.xml.
Plugin name
appinio_video_player
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the CachedVideoPlayerController class exported by the
appinio_video_player
package should be available to the consuming app.Screenshots
N/A - it would only be a picture of the error above
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
This is my implementation:
I don't have any additional relevant information, but I would gladly provide any information needed to fix this.
The text was updated successfully, but these errors were encountered: