[SOLVED] Android 7.1.1 Crash

I also merged the fix into my jME 3.0 apps. Thanks a lot!

Should I worry about this line? MemoryRef not seems to have a free() method…

SEVERE Buffer cannot be destroyed: java.nio.DirectByteBuffer[pos=0 lim=1048576 cap=1048576], java.nio.DirectByteBuffer$MemoryRef@b7ba220

Ah, the free() , method has package visibility. Therefore the reflection lookup with getMethod() fails.
You have to use getDeclaredMethod().

Also wrote a comment on github.

1 Like