xamarin.forms - Plugin.MediaManager.Forms 在 xamarin uwp 中不起作用
问题描述
我Plugin.MediaManager.Forms
用于播放音频。它在 android 和 ios 中运行良好。但在 Windows 中,该应用程序与System.NotImplementedException.
.
版本详情:
Plugin.MediaManager.Forms:1.0.7
Xamarin 形式:4.8.0.1821
视觉工作室:16.8.3
Windows 目标版本:Windows 10 版本 1903(10.0;内部版本 18362)
Windows 最低版本:Windows 10 秋季创意者更新(10.0;内部版本 16299)
另外,我在功能下的 Package.appxmanifest 中添加了“背景媒体播放”、“互联网”、“音乐库”和“视频库”。
我还缺少什么?
解决方案
我已经在 github 上看到了你的问题,现在看到了这个堆栈问题。我在我的Pull Request中解决了这个问题。PR 合并后,您可以更新到最新版本。顺便说一句,你必须使用UWP 10.0.18362.0(Version 1903) min。
目标版本从 uap 10.0.18362.0(版本 1903)降级到 10.0.17763(版本 1809),从版本0.9.7降级到0.9.9。现在,您必须使用v. 0.9.7。
推荐阅读
- python-3.x - 是否可以将包添加到 openfaas 容器?
- android - 当应用程序在后台运行时,NavDeepLinkBuilder 挂起的意图会起作用
- angular - 在我的应用程序上看不到自定义 Google 地图样式
- c - 警告:没有效果的语句 wunused 值
- android - 如何在协程中重新启动作业?
- python - 用 where 条件替换 Pandas 中的 Nan 值的阈值检查
- c# - 我们如何使用 LINQ 对应该首先出现一些预定义值的列表进行排序?
- redirect - opencart 3 - 将主页重定向到类别
- singly-linked-list - 在尝试与另一个值交换时删除的单链表的第一个值(C++ 代码)
- arrays - 如何过滤列表
- >> 在 Flutter 中获取值?