-
Notifications
You must be signed in to change notification settings - Fork 24.6k
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
wtf java.lang.RuntimeException:SoLoader.init() not yet called
#10379
Comments
This also happened to me. My specific case: From ReactBridge.java: public static void staticInit() {
SoLoader.loadLibrary(REACT_NATIVE_LIB);
SoLoader.loadLibrary(XREACT_NATIVE_LIB);
} Not sure if this is the same problem you are having, but it seems to be that the React Native Bridge is not making sure the SoLoader is initialized before initializing itself. Again this is only happening for me when the React Native App is not running, however my understanding of the HeadlessJsTaskService is that it is allowed to run when your app is not. I think this is the same problem they are having in issue #10352 |
Hey, thanks for reporting this issue. Can you please add all the info specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported. |
This problem showed up when calling :
The Arguments is from com.facebook.react.bridge. |
So is there any solution here to avoid this error while React-Native is not ready yet? Should we hold up ongoing process until RN did initialized? But how can we do that? |
One thing that fixes this for me on 0.38.1 is after initializing |
@ewindso Could you give us more detail please? |
@ewindso, any updates? it will be highly appreciated :) |
Closing due to lack of follow up from the original author. |
I was getting same issue (checked in logcat). I found there was no function in MainApplication.java as
|
@sachinwak have you found the solution of your problem? |
What's wrong?
The text was updated successfully, but these errors were encountered: