You need to update the jni library, namely: Application.mk add ` APP_ABI := all` and set in OSNetworkSystem.cpp some update(for arm64 you need change jint to jlong in some places)