C# 缺少方法集\u RenderOnUIThread
我正在用Visual C#Studio 2013 Express和单声道游戏制作一个C#游戏。C# 缺少方法集\u RenderOnUIThread,c#,android,visual-studio-2013,xna-4.0,monogame,C#,Android,Visual Studio 2013,Xna 4.0,Monogame,我正在用Visual C#Studio 2013 Express和单声道游戏制作一个C#游戏。 调试解决方案时,我在以下几行中遇到错误: public class Game1 : Game { public SpriteBatch SpriteBatch; public Game1() { var graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "C
调试解决方案时,我在以下几行中遇到错误:
public class Game1 : Game
{
public SpriteBatch SpriteBatch;
public Game1()
{
var graphics = new GraphicsDeviceManager(this);
Content.RootDirectory = "Content";
graphics.IsFullScreen = true;
graphics.PreferredBackBufferWidth = 800;
graphics.PreferredBackBufferHeight = 480;
graphics.SupportedOrientations = DisplayOrientation.LandscapeLeft | DisplayOrientation.LandscapeRight;
}// and more...
错误(3081):程序集OpenTK-1.0.dll中缺少方法OpenTK.Platform.Android.AndroidGameView::set_RenderOnUIThread(bool),在assembly/data/data/Game1.Game1/files/override/MonoGame.Framework.dll中引用
发生未处理的异常
请帮帮我。你为什么认为这是一个错误?它清楚地表明,它是只读的。如何修复此错误?