Xamarin.Forms - 创建 Android Wear 应用程序时出现问题

Xamarin.Forms - Problem creating Android Wear Application

当运行教程: https://docs.microsoft.com/en-gb/xamarin/android/wear/get-started/hello-wear?tabs=windows#feedback Visual Studio 上构建 Android Wear 应用程序的示例 - 我收到以下错误:

02-13 20:13:24.035 E/eglCodecCommon( 9352): glUtilsParamSize: 未知参数 0x000082da 02-13 20:13:24.035 E/eglCodecCommon( 9352): glUtilsParamSize: 未知参数 0x000082da

我 运行 使用 Android 9.0 API 28 并使用 AndroidWear(圆形)模拟器。 对于我的 IDE,我使用的是 Visual Studio 2019 V16.4.5

任何人都可以建议解决方法,因为这是一个 Uni 项目,所以只需要创建一个带有几个按钮并使用一些 Xamarin 小部件等的简单演示应用程序?

谢谢

如果您搜索此错误消息,您可以在 this thread 中轻松找到答案:

This is caused if you use the "Use host GPU" setting of the emulator and it will disappear after you uncheck this option.

它特定于 Android 模拟器的 GPU 模拟。

因此您可以在创建 Android 磨损圆形模拟器时编辑 gpu.mode 以消除错误。右侧还有各个选项的说明: