Android 我在开发一些应用程序时在eclipse上出错

Android 我在开发一些应用程序时在eclipse上出错,android,Android,以下代码行: this.mTexture = new Texture(512,512, TextureOptions.BILINEAR_PREMULTIPLYALPHA); this.mSplashTextureRegion = TextureRegionFactory.createFromSource(this.mTexture, this, "gfx/Splashscreen.png", 0, 0); 导致此错误的原因: Bound mismatch: The generic method

以下代码行:

this.mTexture = new Texture(512,512, TextureOptions.BILINEAR_PREMULTIPLYALPHA);
this.mSplashTextureRegion = TextureRegionFactory.createFromSource(this.mTexture, this, "gfx/Splashscreen.png", 0, 0);
导致此错误的原因:

Bound mismatch: The generic method createFromSource(ITextureAtlas<T>,
T, int, int, boolean) of type TextureRegionFactory is not applicable
for the acrguments(Texture, MainActivity, String, int, int). The
inferred type MainActivity is not a valid substitute for the bounded
parameter <T extends ITextureAtlasSource>
绑定不匹配:通用方法createFromSource(ITextureAtlas,
T、 TextureRegionFactory类型的int,int,boolean)不适用
对于acrgument(纹理、主活动、字符串、int、int)。这个
推断类型MainActivity不是有界活动的有效替代品
参数
我怎样才能解决这个问题

public void onLoadResources() {
this.mTexture = new BitmapTextureAtlas(512, 512,
    TextureOptions.BILINEAR_PREMULTIPLYALPHA);
    this.mSplashTextureRegion =     BitmapTextureAtlasTextureRegionFactory.createFromAsset(this.mTexture,
    this, "gfx/Splashscreen.png", 0, 0);
    this.mEngine.getTextureManager().loadTexture(this.mTexture);
    }


@谢谢大家的回复。。我非常感谢你的答复。非常感谢。