Used NativeActivity to load C++ as a native plugin to get the JNI_OnLoad event which is able to load non-system classes.