我在大图像尺寸上出现错误大约是1600 * 2560。 LogCat详细信息如下:
E/AndroidRuntime(2451): FATAL EXCEPTION: main
E/AndroidRuntime(2451): java.lang.OutOfMemoryError
E/AndroidRuntime(2451): at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
E/AndroidRuntime(2451): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:502)
E/AndroidRuntime(2451): at org.cocos2d.nodes.CCTextureCache$2.load(CCTextureCache.java:210)
E/AndroidRuntime(2451): at org.cocos2d.opengl.CCTexture2D.setLoader(CCTexture2D.java:194)
E/AndroidRuntime(2451): at org.cocos2d.nodes.CCTextureCache.createTextureFromFilePath(CCTextureCache.java:201)
E/AndroidRuntime(2451): at org.cocos2d.nodes.CCTextureCache.addImage(CCTextureCache.java:67)
E/AndroidRuntime(2451): at org.cocos2d.nodes.CCSprite.<init>(CCSprite.java:366)
E/AndroidRuntime(2451): at org.cocos2d.nodes.CCSprite.sprite(CCSprite.java:267)
这是什么解决方案?