[Bug] Execution failed for task ':launcher:preReleaseBuild'.
[REQUIRED] Please fill in the following fields:
- Unity editor version: _____unity 2021.3.31f1
- Firebase Unity SDK version: _____11.7.0
- Source you installed the SDK: _____ .unitypackage
- Problematic Firebase Component: _____ Auth
- Other Firebase Components in use: _____ Auth
- Additional SDKs you are using: _____ Google Sign In SDK For Unity
- Platform you are using the Unity editor on: _____ Windows
- Platform you are targeting: _____ Android
- Scripting Runtime: _____ IL2CPP
- Pre-built SDK from the website
[REQUIRED] Please describe the issue here:
Execution failed for task ':launcher:preReleaseBuild'.
Could not resolve all files for configuration ':launcher:releaseRuntimeClasspath'. Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.3.0)' to match attributes {artifactType=android-manifest}. > Execution failed for JetifyTransform: C:\Users\ADMIN.gradle\caches\modules-2\files-2.1\androidx.annotation\annotation-experimental\1.3.0\5087c6f545117dcd474e69e1a93cacec9d7334af\annotation-experimental-1.3.0.aar. > Failed to transform 'C:\Users\ADMIN.gradle\caches\modules-2\files-2.1\androidx.annotation\annotation-experimental\1.3.0\5087c6f545117dcd474e69e1a93cacec9d7334af\annotation-experimental-1.3.0.aar' using Jetifier. Reason: null. (Run with --stacktrace for more details.)
Error Geb
Steps to reproduce:
Create New Project In Unirt 2021.3.31f1 Import Firebase SDK Version 11.7.0 Auth Component Import Google Sign In for Unity 1.0.4 Make Build Find Error
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? What's the issue repro rate? (eg 100%, 1/5 etc) 100%
solution
Working with FireBase Unity SDK 11.6.0
Hi @Amar1312,
I tried reproducing your issue, but I haven't encountered the error message you indicated. I'm facing an error when trying to run the scene from the Unity editor; does this also occur in your implementation? Additionally, does enabling both Custom Main Gradle Template and Custom Gradle Properties Template from your Player Settings > Publishing Settings make any difference?
Hey @Amar1312. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
I also have tried by enabling Custom Main Gradle Template and Custom Gradle Properties Template But I do not find any success.