vikram25897 / flutter_cached_video_player

BSD 3-Clause "New" or "Revised" License
95 stars 152 forks source link

Deprecated namespace declaration causing build failures #99

Open Bus42 opened 6 months ago

Bus42 commented 6 months ago

I am getting the following error when trying to build. I think that cached_video_player needs a little updating.

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.
Lazizbek97 commented 6 months ago

any news?

wildsurfer commented 4 months ago

+1

wildsurfer commented 4 months ago

Solution seems to be here: https://github.com/vikram25897/flutter_cached_video_player/pull/81

AkhileshGahlot commented 14 hours ago

As a temporary fix this resolved my issue:

add this android { namespace = "com.lazyarts.vikram.cached_video_player" .... } in External Libraries/Flutter Plugins/cached_video_player-2.0.4/android/build.gradle