Not compatible with Libgdx1.9.7
Trurl101 opened this issue · 6 comments
Trurl101 commented
With Libgdx 1.9.7 box2d crashes on android:
W/System.err: java.lang.NoSuchMethodError: No direct method <init>(Lcom/badlogic/gdx/graphics/Pixmap$Format;IIZ)V in class Lcom/badlogic/gdx/graphics/glutils/FrameBuffer; or its super classes (declaration of 'com.badlogic.gdx.graphics.glutils.FrameBuffer' appears in /data/app/xxx/base.apk)
W/System.err: at box2dLight.LightMap.<init>(LightMap.java:120)
W/System.err: at box2dLight.RayHandler.resizeFBO(RayHandler.java:142)
W/System.err: at box2dLight.RayHandler.<init>(RayHandler.java:131)
rinold commented
Oh, 1.9.7 introduced breaking changes in FrameBuffer. Will check it.
Trurl101 commented
A yesterdays libgdx patch fixed the problem for now. At least for the latest libgdx snapshot.
RafalRybowski commented
I have this problem too. I start with libgdx and don't know how to repair this
FrameBuffer(com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder<? extends com.badlogic.gdx.graphics.glutils.GLFrameBuffer<com.badlogic.gdx.graphics.Texture>>)' has protected access in 'com.badlogic.gdx.graphics.glutils.FrameBuffer
rinold commented
It's the 1.9.7 issue only (afaik). Should work with recomended versions.
RafalRybowski commented
thx @rinold i go down and work
crykn commented
Closing this, since 1.9.8 was released nearly three years ago.