-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native method not found #4
Comments
i've found Java_com_github_nativehandler_NativeCrashHandler_nUnregisterForNativeCrash in NativeCrashHandler.cpp but it seems that System.loadLibrary() should be invoked before new NativeCrashHandler().registerForNativeCrash(this); is there is no word about it in Usage |
Is there any opportunity to make loading NativeCrashHandler separated from loading native library? Case: native code (.so) is downloaded from the internet and it's not attached to any activity. The best solution would be to load libraries separately (and NativeCrashHandler on App.onCreate()) |
The project has been discontinued. |
I've added pom.xml, compiled module as maven apklib and added as maven dependency.
I've also compiled my native lib with NativeCrashHandler.cpp and .h.
On app run (Application.onCreate()) i'm getting exception:
so it looks like some .so lib is missing
The text was updated successfully, but these errors were encountered: