我在Google Play商店中拥有一个应用程序,其崩溃总数总体较低,但是在发布我的最新更新后,该数字已经大幅上升。根据崩溃报告,此问题仅影响Android 9用户,所有其他用户均未遇到任何崩溃。崩溃日志似乎表明这与MoPub中介有关,特别是在尝试展示广告时(某种程度上似乎缺少某些库):
java.lang.Error: FATAL EXCEPTION [main]
Unity version : 2018.4.2f1
Device model : samsung SM-G965F
Device fingerprint: *****
Caused by
at com.mopub.mraid.MraidBridge.handleShouldOverrideUrl (MraidBridge.java:316)
at com.mopub.mraid.MraidBridge$5.shouldOverrideUrlLoading (MraidBridge.java:274)
at android.webkit.WebViewClient.shouldOverrideUrlLoading (WebViewClient.java:77)
at aML.a (aML.java:1)
at uU.a (uU.java:21)
at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading (AwContentsClientBridge.java:160)
at android.os.MessageQueue.nativePollOnce (MessageQueue.java)
at android.os.MessageQueue.next (MessageQueue.java:326)
at android.os.Looper.loop (Looper.java:181)
at android.app.ActivityThread.main (ActivityThread.java:6986)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1445)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)
at com.mopub.mraid.MraidBridge.handleShouldOverrideUrl (MraidBridge.java:316)
at com.mopub.mraid.MraidBridge$5.shouldOverrideUrlLoading (MraidBridge.java:274)
at android.webkit.WebViewClient.shouldOverrideUrlLoading (WebViewClient.java:77)
at aML.a (aML.java:1)
at uU.a (uU.java:21)
at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading (AwContentsClientBridge.java:160)
at android.os.MessageQueue.nativePollOnce (MessageQueue.java)
at android.os.MessageQueue.next (MessageQueue.java:326)
at android.os.Looper.loop (Looper.java:181)
at android.app.ActivityThread.main (ActivityThread.java:6986)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1445)
只有我在上次更新中所做的更改,我认为这可能与该问题有关:
我正在使用Unity 2018.4.2f1,MoPub SDK 5.2(Unity插件),并通过以下广告网络进行中介:AdMob,Facebook,ironSource和UnityAds。