Search Issue Tracker

Active

Votes

3

Found in

2020.3.45f1

2021.3.18f1

2022.2.7f1

2023.1.0b3

2023.2.0a2

Issue ID

UUM-26774

Regression

No

[Android] Android build fails when using Push notification and Firebase packages

--

-

How to reproduce:
1. Open the user’s attached “push test.zip“ project
2. Build for Android

Expected result: The build is completed successfully
Actual result: Build fails with the “Too many errors“ error window and many errors in the Console

Reproducible with: 2.0.0-pre.2, 3.0.0-pre.1 (2020.3.45f1, 2021.3.18f1, 2022.2.7f1, 2023.1.0b3, 2023.2.0a2)

Not reproducible with: Windows 10 Standalone Player

Note: Deleting the “Push Notifications“ package fixes the issue

First few lines one of the error messages:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class android.support.v4.app.INotificationSideChannel found in modules androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.