The MallocBytez class is using Unsafe class which is not supported in android. Im getting following error when i use FSTSerializedOffheapMap in android.
No virtual method copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V in class Lsun/misc/Unsafe; or its super classes (declaration of 'sun.misc.Unsafe' appears in /system/framework/core-oj.jar)
at org.nustaq.offheap.bytez.malloc.MallocBytez.getArr(MallocBytez.java:149)
The MallocBytez class is using Unsafe class which is not supported in android. Im getting following error when i use FSTSerializedOffheapMap in android.