Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Problem with Firebase on Unity 2023.2 (Deprecated Gradle features were used)

Discussion in 'Android' started by TheCritt, Mar 7, 2024.

  1. TheCritt

    TheCritt

    Joined:
    Apr 9, 2016
    Posts:
    8
    Hi,

    I'm developing a mobile game using Unity Engine 2023.2 and am encountering difficulties while trying to integrate Firebase Authentication. Despite following the setup instructions outlined in the Firebase blog post for Unity 2020.2 compatibility (https://firebase.blog/posts/2020/08/firebase-compatibility-with-unity-20201/), I'm facing persistent errors during the installation process.

    The exact error message is:

    Code (Boo):
    1. > Task :unityLibrary:Firebase.androidlib:preBuild UP-TO-DATE
    2. > Task :unityLibrary:preBuild UP-TO-DATE
    3. > Task :unityLibrary:FirebaseApp.androidlib:preBuild UP-TO-DATE
    4. > Task :unityLibrary:mobilenotifications.androidlib:preBuild UP-TO-DATE
    5. > Task :launcher:preBuild UP-TO-DATE
    6. > Task :unityLibrary:Firebase.androidlib:preReleaseBuild UP-TO-DATE
    7. > Task :unityLibrary:preReleaseBuild UP-TO-DATE
    8. > Task :launcher:preReleaseBuild UP-TO-DATE
    9. > Task :unityLibrary:mobilenotifications.androidlib:preReleaseBuild UP-TO-DATE
    10. > Task :unityLibrary:FirebaseApp.androidlib:preReleaseBuild UP-TO-DATE
    11. > Task :unityLibrary:mobilenotifications.androidlib:compileReleaseAidl NO-SOURCE
    12. > Task :unityLibrary:Firebase.androidlib:compileReleaseAidl NO-SOURCE
    13. > Task :unityLibrary:FirebaseApp.androidlib:compileReleaseAidl NO-SOURCE
    14. > Task :launcher:generateReleaseBuildConfig UP-TO-DATE
    15. > Task :launcher:javaPreCompileRelease UP-TO-DATE
    16. > Task :launcher:generateReleaseResValues UP-TO-DATE
    17. > Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
    18. > Task :launcher:extractProguardFiles UP-TO-DATE
    19. > Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseJniLibFolders UP-TO-DATE
    20. > Task :unityLibrary:Firebase.androidlib:mergeReleaseJniLibFolders UP-TO-DATE
    21. > Task :unityLibrary:mobilenotifications.androidlib:mergeReleaseJniLibFolders UP-TO-DATE
    22. > Task :launcher:mergeReleaseJniLibFolders UP-TO-DATE
    23. > Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseNativeLibs NO-SOURCE
    24. > Task :unityLibrary:Firebase.androidlib:mergeReleaseNativeLibs NO-SOURCE
    25. > Task :unityLibrary:mobilenotifications.androidlib:mergeReleaseNativeLibs NO-SOURCE
    26. > Task :unityLibrary:FirebaseApp.androidlib:copyReleaseJniLibsProjectOnly UP-TO-DATE
    27. > Task :unityLibrary:Firebase.androidlib:copyReleaseJniLibsProjectOnly UP-TO-DATE
    28. > Task :unityLibrary:mobilenotifications.androidlib:copyReleaseJniLibsProjectOnly UP-TO-DATE
    29. > Task :unityLibrary:FirebaseApp.androidlib:packageReleaseRenderscript NO-SOURCE
    30. > Task :unityLibrary:Firebase.androidlib:packageReleaseRenderscript NO-SOURCE
    31. > Task :unityLibrary:mobilenotifications.androidlib:packageReleaseRenderscript NO-SOURCE
    32. > Task :unityLibrary:FirebaseApp.androidlib:compileReleaseRenderscript NO-SOURCE
    33. > Task :unityLibrary:Firebase.androidlib:compileReleaseRenderscript NO-SOURCE
    34. > Task :unityLibrary:mobilenotifications.androidlib:compileReleaseRenderscript NO-SOURCE
    35. > Task :unityLibrary:FirebaseApp.androidlib:generateReleaseResValues UP-TO-DATE
    36. > Task :unityLibrary:Firebase.androidlib:generateReleaseResValues UP-TO-DATE
    37. > Task :unityLibrary:mobilenotifications.androidlib:generateReleaseResValues UP-TO-DATE
    38. > Task :unityLibrary:FirebaseApp.androidlib:generateReleaseResources UP-TO-DATE
    39. > Task :unityLibrary:Firebase.androidlib:generateReleaseResources UP-TO-DATE
    40. > Task :unityLibrary:mobilenotifications.androidlib:generateReleaseResources UP-TO-DATE
    41. > Task :unityLibrary:mobilenotifications.androidlib:packageReleaseResources UP-TO-DATE
    42. > Task :unityLibrary:FirebaseApp.androidlib:packageReleaseResources UP-TO-DATE
    43. > Task :unityLibrary:Firebase.androidlib:packageReleaseResources UP-TO-DATE
    44. > Task :unityLibrary:mobilenotifications.androidlib:parseReleaseLocalResources UP-TO-DATE
    45. > Task :unityLibrary:FirebaseApp.androidlib:parseReleaseLocalResources UP-TO-DATE
    46. > Task :unityLibrary:Firebase.androidlib:parseReleaseLocalResources UP-TO-DATE
    47. > Task :unityLibrary:mobilenotifications.androidlib:processReleaseManifest UP-TO-DATE
    48. > Task :unityLibrary:FirebaseApp.androidlib:processReleaseManifest UP-TO-DATE
    49. > Task :unityLibrary:Firebase.androidlib:processReleaseManifest UP-TO-DATE
    50. > Task :unityLibrary:FirebaseApp.androidlib:generateReleaseRFile UP-TO-DATE
    51. > Task :unityLibrary:mobilenotifications.androidlib:generateReleaseRFile UP-TO-DATE
    52. > Task :unityLibrary:FirebaseApp.androidlib:generateReleaseBuildConfig UP-TO-DATE
    53. > Task :unityLibrary:Firebase.androidlib:generateReleaseRFile UP-TO-DATE
    54. > Task :unityLibrary:mobilenotifications.androidlib:generateReleaseBuildConfig UP-TO-DATE
    55. > Task :unityLibrary:FirebaseApp.androidlib:javaPreCompileRelease UP-TO-DATE
    56. > Task :unityLibrary:Firebase.androidlib:generateReleaseBuildConfig UP-TO-DATE
    57. > Task :unityLibrary:mobilenotifications.androidlib:javaPreCompileRelease UP-TO-DATE
    58. > Task :unityLibrary:Firebase.androidlib:javaPreCompileRelease UP-TO-DATE
    59. > Task :unityLibrary:FirebaseApp.androidlib:compileReleaseJavaWithJavac UP-TO-DATE
    60. > Task :unityLibrary:FirebaseApp.androidlib:bundleLibCompileToJarRelease UP-TO-DATE
    61. > Task :unityLibrary:FirebaseApp.androidlib:stripReleaseDebugSymbols NO-SOURCE
    62. > Task :unityLibrary:FirebaseApp.androidlib:copyReleaseJniLibsProjectAndLocalJars UP-TO-DATE
    63. > Task :unityLibrary:Firebase.androidlib:compileReleaseJavaWithJavac UP-TO-DATE
    64. > Task :unityLibrary:FirebaseApp.androidlib:extractDeepLinksForAarRelease UP-TO-DATE
    65. > Task :unityLibrary:mobilenotifications.androidlib:compileReleaseJavaWithJavac UP-TO-DATE
    66. > Task :unityLibrary:Firebase.androidlib:bundleLibCompileToJarRelease UP-TO-DATE
    67. > Task :unityLibrary:mobilenotifications.androidlib:bundleLibCompileToJarRelease UP-TO-DATE
    68. > Task :unityLibrary:Firebase.androidlib:stripReleaseDebugSymbols NO-SOURCE
    69. > Task :unityLibrary:mobilenotifications.androidlib:stripReleaseDebugSymbols NO-SOURCE
    70. > Task :unityLibrary:Firebase.androidlib:copyReleaseJniLibsProjectAndLocalJars UP-TO-DATE
    71. > Task :unityLibrary:mobilenotifications.androidlib:copyReleaseJniLibsProjectAndLocalJars UP-TO-DATE
    72. > Task :unityLibrary:Firebase.androidlib:extractDeepLinksForAarRelease UP-TO-DATE
    73. > Task :unityLibrary:mobilenotifications.androidlib:extractDeepLinksForAarRelease UP-TO-DATE
    74. > Task :unityLibrary:Firebase.androidlib:extractReleaseAnnotations UP-TO-DATE
    75. > Task :unityLibrary:mobilenotifications.androidlib:extractReleaseAnnotations UP-TO-DATE
    76. > Task :unityLibrary:FirebaseApp.androidlib:extractReleaseAnnotations UP-TO-DATE
    77. > Task :unityLibrary:mobilenotifications.androidlib:mergeReleaseGeneratedProguardFiles UP-TO-DATE
    78. > Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseGeneratedProguardFiles UP-TO-DATE
    79. > Task :unityLibrary:mobilenotifications.androidlib:mergeReleaseConsumerProguardFiles UP-TO-DATE
    80. > Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseConsumerProguardFiles UP-TO-DATE
    81. > Task :unityLibrary:Firebase.androidlib:mergeReleaseGeneratedProguardFiles UP-TO-DATE
    82. > Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseShaders UP-TO-DATE
    83. > Task :unityLibrary:mobilenotifications.androidlib:mergeReleaseShaders UP-TO-DATE
    84. > Task :unityLibrary:FirebaseApp.androidlib:compileReleaseShaders NO-SOURCE
    85. > Task :unityLibrary:Firebase.androidlib:mergeReleaseConsumerProguardFiles UP-TO-DATE
    86. > Task :unityLibrary:Firebase.androidlib:mergeReleaseShaders UP-TO-DATE
    87. > Task :unityLibrary:FirebaseApp.androidlib:generateReleaseAssets UP-TO-DATE
    88. > Task :unityLibrary:Firebase.androidlib:compileReleaseShaders NO-SOURCE
    89. > Task :unityLibrary:FirebaseApp.androidlib:packageReleaseAssets UP-TO-DATE
    90. > Task :unityLibrary:mobilenotifications.androidlib:compileReleaseShaders NO-SOURCE
    91. > Task :unityLibrary:Firebase.androidlib:generateReleaseAssets UP-TO-DATE
    92. > Task :unityLibrary:mobilenotifications.androidlib:generateReleaseAssets UP-TO-DATE
    93. > Task :unityLibrary:Firebase.androidlib:packageReleaseAssets UP-TO-DATE
    94. > Task :unityLibrary:mobilenotifications.androidlib:packageReleaseAssets UP-TO-DATE
    95. > Task :unityLibrary:FirebaseApp.androidlib:prepareLintJarForPublish UP-TO-DATE
    96. > Task :unityLibrary:mobilenotifications.androidlib:prepareLintJarForPublish UP-TO-DATE
    97. > Task :unityLibrary:Firebase.androidlib:prepareLintJarForPublish UP-TO-DATE
    98. > Task :unityLibrary:mobilenotifications.androidlib:prepareReleaseArtProfile UP-TO-DATE
    99. > Task :unityLibrary:FirebaseApp.androidlib:prepareReleaseArtProfile UP-TO-DATE
    100. > Task :unityLibrary:Firebase.androidlib:prepareReleaseArtProfile UP-TO-DATE
    101. > Task :unityLibrary:mobilenotifications.androidlib:extractProguardFiles UP-TO-DATE
    102. > Task :unityLibrary:FirebaseApp.androidlib:processReleaseJavaRes NO-SOURCE
    103. > Task :unityLibrary:Firebase.androidlib:processReleaseJavaRes NO-SOURCE
    104. > Task :launcher:checkReleaseDuplicateClasses UP-TO-DATE
    105. > Task :unityLibrary:mobilenotifications.androidlib:generateReleaseLibraryProguardRules UP-TO-DATE
    106. > Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseJavaResource UP-TO-DATE
    107. > Task :unityLibrary:mobilenotifications.androidlib:processReleaseJavaRes NO-SOURCE
    108. > Task :launcher:desugarReleaseFileDependencies UP-TO-DATE
    109. > Task :unityLibrary:Firebase.androidlib:mergeReleaseJavaResource UP-TO-DATE
    110. > Task :unityLibrary:FirebaseApp.androidlib:syncReleaseLibJars UP-TO-DATE
    111. > Task :unityLibrary:Firebase.androidlib:syncReleaseLibJars UP-TO-DATE
    112. > Task :unityLibrary:mobilenotifications.androidlib:mergeReleaseJavaResource UP-TO-DATE
    113. > Task :unityLibrary:FirebaseApp.androidlib:writeReleaseAarMetadata UP-TO-DATE
    114. > Task :unityLibrary:Firebase.androidlib:writeReleaseAarMetadata UP-TO-DATE
    115. > Task :unityLibrary:FirebaseApp.androidlib:bundleReleaseLocalLintAar UP-TO-DATE
    116. > Task :unityLibrary:Firebase.androidlib:bundleReleaseLocalLintAar UP-TO-DATE
    117. > Task :unityLibrary:FirebaseApp.androidlib:extractDeepLinksRelease UP-TO-DATE
    118. > Task :unityLibrary:Firebase.androidlib:extractDeepLinksRelease UP-TO-DATE
    119. > Task :unityLibrary:FirebaseApp.androidlib:compileReleaseLibraryResources UP-TO-DATE
    120. > Task :unityLibrary:Firebase.androidlib:compileReleaseLibraryResources UP-TO-DATE
    121. > Task :unityLibrary:FirebaseApp.androidlib:bundleLibResRelease NO-SOURCE
    122. > Task :unityLibrary:Firebase.androidlib:bundleLibResRelease NO-SOURCE
    123. > Task :unityLibrary:Firebase.androidlib:bundleLibRuntimeToJarRelease UP-TO-DATE
    124. > Task :unityLibrary:FirebaseApp.androidlib:bundleLibRuntimeToJarRelease UP-TO-DATE
    125. > Task :unityLibrary:Firebase.androidlib:createFullJarRelease UP-TO-DATE
    126. > Task :unityLibrary:FirebaseApp.androidlib:createFullJarRelease UP-TO-DATE
    127. > Task :launcher:mergeExtDexRelease UP-TO-DATE
    128. > Task :unityLibrary:Firebase.androidlib:writeReleaseLintModelMetadata UP-TO-DATE
    129. > Task :unityLibrary:FirebaseApp.androidlib:writeReleaseLintModelMetadata UP-TO-DATE
    130. > Task :launcher:mergeReleaseShaders UP-TO-DATE
    131. > Task :unityLibrary:FirebaseApp.androidlib:bundleLibRuntimeToDirRelease UP-TO-DATE
    132. > Task :unityLibrary:Firebase.androidlib:bundleLibRuntimeToDirRelease UP-TO-DATE
    133. > Task :launcher:compileReleaseShaders NO-SOURCE
    134. > Task :launcher:generateReleaseAssets UP-TO-DATE
    135. > Task :launcher:processReleaseJavaRes NO-SOURCE
    136. > Task :launcher:collectReleaseDependencies UP-TO-DATE
    137. > Task :launcher:sdkReleaseDependencyData UP-TO-DATE
    138. > Task :launcher:validateSigningRelease UP-TO-DATE
    139. > Task :launcher:writeReleaseAppMetadata UP-TO-DATE
    140. > Task :launcher:writeReleaseSigningConfigVersions UP-TO-DATE
    141. > Task :unityLibrary:mobilenotifications.androidlib:minifyReleaseWithR8 UP-TO-DATE
    142. > Task :unityLibrary:mobilenotifications.androidlib:syncReleaseLibJars UP-TO-DATE
    143. > Task :unityLibrary:mobilenotifications.androidlib:writeReleaseAarMetadata UP-TO-DATE
    144. > Task :unityLibrary:mobilenotifications.androidlib:bundleReleaseLocalLintAar UP-TO-DATE
    145. > Task :unityLibrary:mobilenotifications.androidlib:extractDeepLinksRelease UP-TO-DATE
    146. > Task :unityLibrary:mobilenotifications.androidlib:compileReleaseLibraryResources UP-TO-DATE
    147. > Task :unityLibrary:mobilenotifications.androidlib:bundleLibResRelease NO-SOURCE
    148. > Task :unityLibrary:mobilenotifications.androidlib:bundleLibRuntimeToJarRelease UP-TO-DATE
    149. > Task :unityLibrary:mobilenotifications.androidlib:createFullJarRelease UP-TO-DATE
    150. > Task :unityLibrary:mobilenotifications.androidlib:writeReleaseLintModelMetadata UP-TO-DATE
    151. > Task :unityLibrary:mobilenotifications.androidlib:bundleLibRuntimeToDirRelease UP-TO-DATE
    152. > Task :unityLibrary:configureCMakeRelWithDebInfo[arm64-v8a]
    153. > Task :unityLibrary:compileReleaseAidl NO-SOURCE
    154. > Task :launcher:compileReleaseAidl NO-SOURCE
    155. > Task :unityLibrary:buildCMakeRelWithDebInfo[arm64-v8a]
    156. > Task :unityLibrary:configureCMakeRelWithDebInfo[armeabi-v7a]
    157. > Task :unityLibrary:buildCMakeRelWithDebInfo[armeabi-v7a]
    158. > Task :unityLibrary:externalNativeBuildRelease
    159. > Task :unityLibrary:mergeReleaseJniLibFolders UP-TO-DATE
    160. > Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
    161. > Task :unityLibrary:generateReleaseResValues UP-TO-DATE
    162. > Task :unityLibrary:extractDeepLinksForAarRelease
    163. > Task :unityLibrary:generateReleaseBuildConfig
    164. > Task :unityLibrary:generateReleaseResources UP-TO-DATE
    165. > Task :unityLibrary:packageReleaseResources FAILED
    166. > Task :unityLibrary:mergeReleaseNativeLibs
    167. Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
    168. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
    169. See https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings
    170. 119 actionable tasks: 9 executed, 110 up-to-date
    171. 0x00007ff9f737a6ad (Unity) StackWalker::ShowCallstack
    172. 0x00007ff9f7381f49 (Unity) GetStacktrace
    173. 0x00007ff9f8aefb69 (Unity) DebugStringToFile
    174. 0x00007ff9f64788bc (Unity) DebugLogHandler_CUSTOM_Internal_Log
    175. 0x0000029cd23187ed (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log_Injected (UnityEngine.LogType,UnityEngine.LogOption,UnityEngine.Bindings.ManagedSpanWrapper&,intptr)
    176. 0x0000029cd23186a3 (Mono JIT Code) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
    177. 0x0000029cd23182bb (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    178. 0x0000029cd2318000 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
    179. 0x0000029cd2317ec5 (Mono JIT Code) UnityEngine.Debug:LogError (object)
    180. 0x0000029cd23179e3 (Mono JIT Code) UnityEditor.Android.GradleInvokationException:parseAndShowException ()
    181. 0x0000029c36a7dd13 (Mono JIT Code) UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext)
    182. 0x0000029cd22f8cf3 (Mono JIT Code) UnityEditor.Android.PostProcessAndroidPlayer:postProcess (UnityEditor.Modules.BuildPostProcessArgs,AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput)
    183. 0x0000029cd2248ce3 (Mono JIT Code) UnityEditor.Android.AndroidBuildPostprocessor:postProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&)
    184. 0x0000029cd2245d8e (Mono JIT Code) UnityEditor.PostprocessBuildPlayer:postprocess (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,string,string,string,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport)
    185. 0x0000029cd224610d (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_int_int_object_object_object_int_object_object (object,intptr,intptr,intptr)
    186. 0x00007ffa37ec694e (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
    187. 0x00007ffa37e08464 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3068)
    188. 0x00007ffa37e08550 (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3115)
    189. 0x00007ff9f72a4794 (Unity) scripting_method_invoke
    190. 0x00007ff9f727f7e3 (Unity) ScriptingInvocation::Invoke
    191. 0x00007ff9f727aa75 (Unity) ScriptingInvocation::Invoke<void>
    192. 0x00007ff9f74086b6 (Unity) Scripting::UnityEditor::postprocessBuildPlayerProxy::postprocess
    193. 0x00007ff9f8e99eb5 (Unity) PostprocessPlayer
    194. 0x00007ff9f8e94ab8 (Unity) DoBuildPlayer_PostBuild
    195. 0x00007ff9f8e92a17 (Unity) DoBuildPlayer
    196. 0x00007ff9f8e8e922 (Unity) BuildPlayerStep
    197. 0x00007ff9f8e852fb (Unity) BuildPlayer
    198. 0x00007ff9f6a88a42 (Unity) BuildPipeline::BuildPlayerInternalNoCheck
    199. 0x00007ff9f68aacab (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck
    200. 0x00000299e7697bd6 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck_Injected (string[],UnityEngine.Bindings.ManagedSpanWrapper&,UnityEngine.Bindings.ManagedSpanWrapper&,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[],bool)
    201. 0x00000299e7697703 (Mono JIT Code) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[],bool)
    202. 0x00000299e769<message truncated>
     
  2. unity_DE24B5CD2450CDC93AE9

    unity_DE24B5CD2450CDC93AE9

    Joined:
    Oct 28, 2021
    Posts:
    1
    same here tried with evrything!