- Home /
764 Errors After adding admob
First I was on unity 2019.2.x version then I updated to 2019.3.x version.
On 2019.2.x I had google play services with online save.
Then I added admob for ads (after updating to 2019.3.x) and when I tried to build for android there was 764 errors:
1x OperationCanceledException: The operation was canceled.
2x CommandInvokationFailure: Gradle build failed.
1x java.lang.RuntimeException: Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes.jar (:androidx.core.core-1.0.0:) and classes.jar (:core-1.1.0:)
And a lot of (700+)x Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules classes.jar (:androidx.core.core-1.0.0:) and classes.jar (:core-1.1.0:)
and 1x CommandInvokationFailure: Gradle build failed.
Any ideas what happened and how to fix that? It works in editor...
Answer by ddule · Jan 04, 2020 at 12:25 PM
Assets - > Play Services Resolver -> Android Resolver - > Resolve
That fixed all errors.
Answer by Asgarde26 · Mar 14, 2020 at 11:07 AM
I have the same error but when i use: Assets - > Play Services Resolver -> Android Resolver - > Resolve or force resolve , not resolve the problem. Always 70 errors:
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':checkReleaseDuplicateClasses'.
java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes.jar (:androidx.core.core-1.0.0:) and classes.jar (:support-compat-25.1.0:) Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules classes.jar (:androidx.core.core-1.0.0:) and classes.jar (:support-compat-25.1.0:) Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules classes.jar (:androidx.core.core-1.0.0:) and classes.jar (:support-compat-25.1.0:) Duplicate class android.support.v4.os.IResultReceiver found in modules classes.jar (:androidx.core.core-1.0.0:) and classes.jar (:support-compat-25.1.0:) Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules classes.jar (:androidx.core.core-1.0.0:) and classes.jar (:support-compat-25.1.0:) Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules classes.jar (:androidx.core.core-1.0.0:) and classes.jar (:support-compat-25.1.0:)............. The problem comes from when i install FirebaseMessaging.unitypackage. How to fix that? Thank.1 exception was raised by workers:
Thalkz found a solution here .The problem comes froms $$anonymous$$apbox.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Linux build doesn't work properly 1 Answer
Android Build Failed @icon=@mipmap/app_icon 0 Answers
Android Build Error 1 Answer
Android SDK does not include error 1 Answer