Longer than a day I’m trying to build bundle with gradle, but it always crashes. I updated and set up all SDKs, GPS, google mobile ads- it still crashes after the splashscreen. Here is some logs:
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.util.ArraySet" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.LightGameStudio.Pirates-5alsQuxo4YPLzLDCBEwPQg==/base.apk", zip file "/data/app/com.LightGameStudio.Pirates-5alsQuxo4YPLzLDCBEwPQg==/split_config.arm64_v8a.apk"],nativeLibraryDirectories=[/data/app/com.LightGameStudio.Pirates-5alsQuxo4YPLzLDCBEwPQg==/lib/arm64, /data/app/com.LightGameStudio.Pirates-5alsQuxo4YPLzLDCBEwPQg==/base.apk!/lib/arm64-v8a, /data/app/com.LightGameStudio.Pirates-5alsQuxo4YPLzLDCBEwPQg==/split_config.arm64_v8a.apk!/lib/arm64-v8a, /system/lib64, /product/lib64]]
Suppressed: java.io.IOException: No original dex files found for dex location /data/app/com.LightGameStudio.Pirates-5alsQuxo4YPLzLDCBEwPQg==/split_config.arm64_v8a.apk
DropBoxManagerService: Dropping: data_app_crash (10 > 0 bytes)
InputDispatcher: channel ‘a550f05 com.LightGameStudio.Pirates/com.unity3d.player.UnityPlayerActivity (server)’ ~ Consumer closed input channel or an error occurred. events=0x9
InputDispatcher: channel ‘a550f05 com.LightGameStudio.Pirates/com.unity3d.player.UnityPlayerActivity (server)’ ~ Channel is unrecoverably broken and will be disposed!
MediaRouterService: Client com.LightGameStudio.Pirates (pid 32179): Died!
WindowManager: WIN DEATH: Window{a550f05 u0 com.LightGameStudio.Pirates/com.unity3d.player.UnityPlayerActivity}
ActivityManager: Process com.LightGameStudio.Pirates (pid 32179) has died: vis +99TOP
Exception when unbinding service com.LightGameStudio.Pirates/org.chromium.content.app.SandboxedProcessService0
ActivityManager: android.os.DeadObjectException
Exception thrown when updateSurfaceStatusSurface(name=com.LightGameStudio.Pirates/com.unity3d.player.UnityPlayerActivity)/@0x6f16d35 : android.os.DeadObjectException
The only decision I see now is to install back Unity 2018 and to build app with internal build.
UPD: crashes on line Social.localUser.Authenticate((bool success) => {});