distriqt / ANE-Adverts-Mediation

Mediation adapters for the Adverts ANE
https://airnativeextensions.com/extension/com.distriqt.Adverts
12 stars 0 forks source link

androidx.webkit dependency missing in unity package #61

Closed marchbold closed 1 year ago

marchbold commented 1 year ago
FATAL EXCEPTION: main
08-20 15:44:41.762 16665 16665 E AndroidRuntime: Process: air.com.autotelic.swipeslide, PID: 16665
08-20 15:44:41.762 16665 16665 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/webkit/WebViewFeature;
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at com.unity3d.services.core.webview.WebView.(WebView.kt:83)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at com.unity3d.services.core.webview.WebViewApp.(WebViewApp.java:63)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at com.unity3d.services.core.webview.WebViewApp.(WebViewApp.java:49)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at com.unity3d.services.core.webview.WebViewApp.(WebViewApp.java:33)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at com.unity3d.services.core.webview.WebViewApp$1.run(WebViewApp.java:312)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:883)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at android.os.Looper.loop(Looper.java:224)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7560)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.webkit.WebViewFeature" on path: DexPathList[[zip file "/data/app/air.com.autotelic.swipeslide-UNX_IcI8YdxraODQkoZaBQ==/base.apk"],nativeLibraryDirectories=[/data/app/air.com.autotelic.swipeslide-UNX_IcI8YdxraODQkoZaBQ==/lib/arm, /data/app/air.com.autotelic.swipeslide-UNX_IcI8YdxraODQkoZaBQ==/base.apk!/lib/armeabi-v7a, /system/lib, /system/product/lib]]
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:230)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
08-20 15:44:41.762 16665 16665 E AndroidRuntime: ... 12 more

From: https://github.com/distriqt/ANE-Adverts/issues/508