-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
on: java.lang.RuntimeException: Could not initialize SoLoader #2111
Comments
Hi @CrazyStart, Could you please provide a stack trace of the crash? Thanks! |
I got the same problem,and this is my stack |
i got the same problem, @XPGSnail do you fix it ? |
Does this happen on all devices / Android versions? Everything works for me for emulators / real devices. Are you by any chance building system apps? It would help us if we are able to reproduce this issue with our Showcase sample app. |
@oprisnik , I use Replugin。 when host fresco initialize ready, plugin start fresco initialize will cause this problem. |
this my 1 java.lang.RuntimeException:Unable to create application com.tencent.bugly.beta.tinker.TinkerPatchReflectApplication: java.lang.RuntimeException: Could not initialize SoLoader2 android.app.ActivityThread.handleBindApplication(ActivityThread.java:4805) |
Seeing this issue only on Samsung Galaxy J7(2015) (j7ltespr) running Android 7.1 java.lang.RuntimeException: |
@wangzhengy maybe you should check your code,I've solve this by fully checking my code,and sure my IO released,or some func while get the File description then you can't access this init File |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "bug" or "enhancement" and I will leave it open. Thank you for your contributions. |
@XPGSnail I'm pretty sure my code has no problem. I think Replguin is not cooperate well with fresco when fresco use soloader. |
I met this issue too. Has it been fixed? I use fresco 1.9.0 |
@wangzhengyi 插件中使用 fresco 抛异常的问题 你解决了么 能否分享下 |
I met this issue too. Has it been fixed? I use fresco 1.13.0 Caused by:5 java.io.IOException:cannot mkdir: /data/data/com.qukandian.video/lib-main 设备机型 VIVO Y51T L |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "bug" or "enhancement" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to reopen with up-to-date information. |
I had the same issue with version 1.13.0:
|
I had the same issue with version 2.0.0: java.lang.RuntimeException:Unable to create application com.stub.StubApp: java.lang.RuntimeException: Could not initialize SoLoader2 android.app.ActivityThread.handleBindApplication(ActivityThread.java:5678) this is my code: Fresco.initialize(applicationContext, imagePipelineConfig) |
java.lang.RuntimeException:Unable to create application com.sk.weichat.MyApplication: java.lang.RuntimeException: Could not initialize SoLoader2 android.app.ActivityThread.handleBindApplication(ActivityThread.java:4998) |
any update on this? |
i have same problem: react native 0.63 and SDK 29 |
same with Unable to create application (Could not initialize SoLoader) from FileLocker |
I 'm facing the same problem Asus ZenFone Max Pro M1 (ZB602KL) (WW) / Max Pro M1 (ZB601KL) (IN) "react-native": "0.66.3", Stack: java.lang.RuntimeException: |
Thank you!
|
I'm facing the same issue, when using replugin mixed with RN. Have you resolved yet? |
Thank you!
|
i'm facing too |
Thank you!
|
I am facing this problem as well. For me, this is happening while handling the
|
Thank you!
|
ในวันที่ พฤ. 2 ก.พ. 2023 15:31 น. Varun Gupta ***@***.***>
เขียนว่า:
… I am facing this problem as well. For me, this is happening while handling
the LOCKED_BOOT_COMPLETED event. Below is the stack trace. The impact of
the problem is that the receiver to handle the event is not triggered.
--------- beginning of crash
2023-01-31 17:32:33.286 1350-1350/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.myapp, PID: 1350
java.lang.RuntimeException: Unable to create application com.myapp.MainApplication: java.lang.RuntimeException: java.io.IOException: cannot mkdir: /data/user/0/com.myapp/lib-main
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6717)
at android.app.ActivityThread.access$1300(ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.RuntimeException: java.io.IOException: cannot mkdir: /data/user/0/com.myapp/lib-main
at com.facebook.soloader.SoLoader.init(SoLoader.java:272)
at com.myapp.MainApplication.onCreate(MainApplication.java:98)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1192)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6712)
at android.app.ActivityThread.access$1300(ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.io.IOException: cannot mkdir: /data/user/0/com.myapp/lib-main
at com.facebook.soloader.SysUtil.mkdirOrThrow(SysUtil.java:289)
at com.facebook.soloader.UnpackingSoSource.prepare(UnpackingSoSource.java:508)
at com.facebook.soloader.SoLoader.initSoSources(SoLoader.java:332)
at com.facebook.soloader.SoLoader.init(SoLoader.java:254)
at com.facebook.soloader.SoLoader.init(SoLoader.java:270)
at com.myapp.MainApplication.onCreate(MainApplication.java:98)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1192)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6712)
at android.app.ActivityThread.access$1300(ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
—
Reply to this email directly, view it on GitHub
<#2111 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A43CNFLZDLQQLMNM7OKXYD3WVNWERANCNFSM4E7FVO5A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
studio version 3.1.2
fresco version 1.9.0
The app crashed when it first opened.
The text was updated successfully, but these errors were encountered: