缺少方法set_RenderOnUIThread

时间:2015-12-17 15:47:06

标签: c# android visual-studio-2013 xna-4.0 monogame

我正在使用带有Mono游戏的Visual C#Studio 2013 Express制作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),在程序集/data/data/Game1.Game1/files/.override中引用 /MonoGame.Framework.dll

发生未处理的异常。

请帮帮我。

0 个答案:

没有答案