0

I use Kryonet on Android, and after start up, the VM crashes with this error: Could not find class 'sun.nio.ch.DirectBuffer', referenced from method com.esotericsoftware.kryo.util.UnsafeUtil.releaseBuffer.

What is the problem?

Baros
  • 53
  • 5

1 Answers1

0

That class is part of java, but not Android. Android doesn't support the sun.nio.* classes. So the library isn't android compatible.

Gabe Sechan
  • 90,003
  • 9
  • 87
  • 127