airlift/aircompressor

Android

bolds07 opened this issue · 2 comments

Is it made for working on android devices?

I'm getting

java.lang.NoSuchFieldError: No static field ARRAY_BYTE_BASE_OFFSET of type I in class Lsun/misc/Unsafe; or its superclasses (declaration of 'sun.misc.Unsafe' appears in /apex/com.android.art/javalib/core-oj.jar)

dain commented

Supporting Android is beyoned the scope of this project.

This is because Android is a little-endian platform and doesn't have sun.misc.Unsafe included in the SDK.

It is possible to use unsafe in Android using third-party libraries but that most likely will require some modification in this lib too.