AppLovin / AppLovin-MAX-Unity-Plugin

121 stars 33 forks source link

Build fails randomly due to HyprMx #188

Open revolt3r opened 2 years ago

revolt3r commented 2 years ago

MAX Plugin Version

5.4.5

Unity Version

2021.3.5f1

Device/Platform Info

Android

Current Behavior

The build fails every 2nd or 3rt time with this error: ERROR: Player export failed. Reason: CommandInvokationFailure: Gradle build failed.

34014: [2022-07-20T11:16:31Z - Unity] FAILURE: Build failed with an exception.
34015: [2022-07-20T11:16:31Z - Unity] 
34016: [2022-07-20T11:16:31Z - Unity] * What went wrong:
34017: [2022-07-20T11:16:31Z - Unity] Execution failed for task ':launcher:dexBuilderDebug'.
34018: [2022-07-20T11:16:31Z - Unity] > Multiple task action failures occurred:
34019: [2022-07-20T11:16:31Z - Unity]    > Key C:\Users\buildbot\.gradle\caches\transforms-2\files-2.1\04acf10769ecd0370849d7c89aa8282d\jetified-HyprMX-SDK-6.0.3-runtime.jar is missing in the map.
34020: [2022-07-20T11:16:31Z - Unity]    > A failure occurred while executing com.android.build.gradle.internal.dexing.DexWorkAction
34021: [2022-07-20T11:16:31Z - Unity]       > No services are registered. Ensure the worker actions use IsolationMode.NONE.
34022: [2022-07-20T11:16:31Z - Unity]    > A failure occurred while executing com.android.build.gradle.internal.dexing.DexWorkAction
34023: [2022-07-20T11:16:31Z - Unity]       > No services are registered. Ensure the worker actions use IsolationMode.NONE.

Expected Behavior

Build completes successfully

How to Reproduce

Build

Additional Info

No response

revolt3r commented 2 years ago

Can this be the issue? https://peaku.co/questions/3706-la-compilacion-de-android-gradle-falla-en-la-tarea-dexbuilderdebug,-despues-de-actualizar-a-kotlin-14