MainApplication.safedk_MainApplication_onCreate_57ea765f2d36ffe6e4e3ea553e0f0486
SaitYilmazel opened this issue · 1 comments
MAX Module Version
4.1.5
React Native Version
0.66.3
Device/Platform Info
Android
Current Behavior
Since switching to the AppLovin ad network in my application, I have been receiving this error. This error is particularly experienced by users using Android 12 and Android 13 versions (as shown in the picture). I couldn't find out what is causing the problem. The error logs are as follows. I would appreciate it if you could help.
Expected Behavior
Users should not experience a crash due to this error.
How to Reproduce
The following items are included in the root-level build.gradle file:
repositories {
...
maven { url 'https://artifacts.applovin.com/android' }
}
dependencies {
...
classpath "com.applovin.quality:AppLovinQualityServiceGradlePlugin:+"
}
The following items are included in the app-level build.gradle file:
implementation 'com.applovin:applovin-sdk:+'
implementation 'com.applovin.mediation:google-adapter:+'
implementation 'com.applovin.mediation:unityads-adapter:+'
implementation 'com.applovin.mediation:ironsource-adapter:+'
implementation 'com.applovin.mediation:adcolony-adapter:+'
Additional Info
Crash Logs:
Fatal Exception: java.lang.RuntimeException: Unable to create application com.xxx.MainApplication: java.lang.RuntimeException: java.io.FileNotFoundException: /data/user/0/com.xxx/lib-1/dso_lock: open failed: EACCES (Permission denied)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7102)
at android.app.ActivityThread.access$1700(ActivityThread.java:277)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2170)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8282)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:576)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1074)
Caused by java.lang.RuntimeException: java.io.FileNotFoundException: /data/user/0/com.xxx/lib-1/dso_lock: open failed: EACCES (Permission denied)
at com.facebook.soloader.SoLoader.init(SoLoader.java:219)
at com.xxx.MainApplication.safedk_MainApplication_onCreate_57ea765f2d36ffe6e4e3ea553e0f0486(MainApplication.java:45)
at com.xxx.MainApplication.onCreate(:8)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1223)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7096)
at android.app.ActivityThread.access$1700(ActivityThread.java:277)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2170)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8282)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:576)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1074)
Caused by java.io.FileNotFoundException: /data/user/0/com.xxx/lib-1/dso_lock: open failed: EACCES (Permission denied)
at libcore.io.IoBridge.open(IoBridge.java:574)
at java.io.FileOutputStream.(FileOutputStream.java:236)
at java.io.FileOutputStream.(FileOutputStream.java:186)
at com.safedk.android.internal.partials.FacebookFilesBridge.fileOutputStreamCtor(FacebookSourceFile:34)
at com.facebook.soloader.FileLocker.(FileLocker.java:36)
at com.facebook.soloader.FileLocker.lock(FileLocker.java:32)
at com.facebook.soloader.UnpackingSoSource.prepare(UnpackingSoSource.java:430)
at com.facebook.soloader.SoLoader.initSoSources(SoLoader.java:327)
at com.facebook.soloader.SoLoader.init(SoLoader.java:207)
at com.facebook.soloader.SoLoader.init(SoLoader.java:189)
at com.facebook.soloader.SoLoader.init(SoLoader.java:217)
at com.xxx.MainApplication.safedk_MainApplication_onCreate_57ea765f2d36ffe6e4e3ea553e0f0486(MainApplication.java:45)
at com.xxx.MainApplication.onCreate(:8)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1223)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7096)
at android.app.ActivityThread.access$1700(ActivityThread.java:277)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2170)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8282)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:576)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1074)
Caused by android.system.ErrnoException: open failed: EACCES (Permission denied)
at libcore.io.Linux.open(Linux.java)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8155)
at libcore.io.IoBridge.open(IoBridge.java:560)
at java.io.FileOutputStream.(FileOutputStream.java:236)
at java.io.FileOutputStream.(FileOutputStream.java:186)
at com.safedk.android.internal.partials.FacebookFilesBridge.fileOutputStreamCtor(FacebookSourceFile:34)
at com.facebook.soloader.FileLocker.(FileLocker.java:36)
at com.facebook.soloader.FileLocker.lock(FileLocker.java:32)
at com.facebook.soloader.UnpackingSoSource.prepare(UnpackingSoSource.java:430)
at com.facebook.soloader.SoLoader.initSoSources(SoLoader.java:327)
at com.facebook.soloader.SoLoader.init(SoLoader.java:207)
at com.facebook.soloader.SoLoader.init(SoLoader.java:189)
at com.facebook.soloader.SoLoader.init(SoLoader.java:217)
at com.xxx.MainApplication.safedk_MainApplication_onCreate_57ea765f2d36ffe6e4e3ea553e0f0486(MainApplication.java:45)
at com.xxx.MainApplication.onCreate(:8)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1223)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7096)
at android.app.ActivityThread.access$1700(ActivityThread.java:277)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2170)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8282)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:576)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1074)
Hi, these issues are with Facebook's SDK. Ad Review shows up in the stack trace due to it needing to hook into certain calls, but the stack traces end with Facebook's SDK, so you will need to raise the crash with them.