Closed ghost closed 3 years ago
Did u add so name to the corresponding asset file?
@yujincheng08 no I maked assets/xposed_init and I write only class name Is there a new asset file?
From native_api.cpp I found assets/native_init I will try.
I maked file assets/native_init and I wrote the row liblsposed_module.so, the library is not initiliazed. I will try with LSPosed debug version
I moved the System.loadLibrary from HookMain in MainActivity and the native_init is invoked. I don't know if the cause of this issue is the architecture x86. I can't test on arm I have only an Android 8.0
I'm testing the native api, but when the so is loaded the function native_init is not invoked. The so is not a JNI library, but I don't understand as the so is initliatized.
LSPTest don't appear in log. No exception in System.loadLibrary. I added a print but nothing.
I compiled with NDK 21.1 and 22.0 but nothing is changed. Hook on staticTest is working.
My environment is Android 8.1 x86 Magisk 22 LSPosed 1.2.2 LSPosed modules: only XposedUnitTest Magisk Modules: Riru Core, LSPosed