-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Conflict with Firebase breaks Android build on Unity v6000.0.23f1 #3652
Comments
Can you please clear out your export folder and try again, I was able to build the project with Firebase on Android using Unity 6. |
You mean the "Library" folder? I tried that with no success on an empty project with Firebase + AdMob with no success on the builds :( With just Firebase or just AdMob it builds fine. But as soon as you have both assets in the project it fails to build with this conflict. |
I have the same issue. Cleaning Library didn't help. I also tried this: firebase unity fix but it didn't help. It only caused new error: |
Yeah, same for me. Just could not make it work by editing the Manifest. I also noticed the last official google sign in (from years ago) also stopped working in builds in Unity 6. It seems that there are some forked versions from some folks that worked. But do keep in mind that the vanilla sign in is not working from scratch also. |
Editing the manifest fixed the problem for me. I also encountered the same issue in a non-Unity project. Fixed it the same way. It seems to be an old problem (since around February 2024) that occurs when using AGP > 8.3.0 with Firebase and AdMob. |
Any news on a solution for compatibility with Unity 6.000.2x? I have a similar issue and am only using the AdMob SDK. I tried with versions 9.2.1 and earlier, and the latest 9.3.0 doesn’t work either in Unity 6.000.2x; it returns a 'Gradle Failure' error. I’ve been waiting for several days for a potential 9.3.1 version update to fix this in Unity6-Android. Is there any temporary solution or alternative available until this version is updated? |
for now im use in Manifest.xml , in Publishing Setting Check Custom Main Mannifest and Use Like This
|
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
Having my project setup with latest Firebase v12.3.0 (Analytics, Crashanalytics, Auth, FireStore) and AdMob v9.2.1. I can't get a build to run. Keep getting a conflict error. Already tried cleaning project, re-importing. Started happening after I upgraded project version to Unity 6, was on Unity v2022.3.28f1 before.
Steps to reproduce:
Try build project for Android with Firebase v12.3.0 (Analytics, Crashanalytics, Auth, FireStore) and AdMob v9.2.1.
Relevant Code:
The text was updated successfully, but these errors were encountered: