-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Description
hello
these days, i am going to build an Meta App with Firebase Firestorage sdk enabled.
With Unity6.2, we build an app with Meta Core. Interaction SDK v81, build standalone meta app works well without importing firebase SDK,
Once we imported firebase SDK v13.5, we got many errors:
But my script works well via Unity Editor, no issue (no issue of configration). only build for Android has this issue:
Could not find manifest/application tag in android manifest.
UnityEngine.Debug:LogError (object)
Meta.XR.Samples.Editor.UpdateManifestWithCodeSample:UpdateManifest (string,System.Collections.Generic.Dictionary`2<string, System.Collections.Generic.HashSet`1<string>>) (at ./Library/PackageCache/com.meta.xr.sdk.core@d6da9ab40659/Scripts/Editor/Util/SampleMetadata/UpdateManifestWithCodeSample.cs:85)
Meta.XR.Samples.Editor.UpdateManifestWithCodeSample:OnPostGenerateGradleAndroidProject (string) (at ./Library/PackageCache/com.meta.xr.sdk.core@d6da9ab40659/Scripts/Editor/Util/SampleMetadata/UpdateManifestWithCodeSample.cs:50)
UnityEditor.EditorApplication:Internal_CallDelayFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:399)
and another error:
Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
> Configure project :unityLibrary
Variant 'debug', will keep symbols in binaries for:
'libunity.so'
'libil2cpp.so'
'libmain.so'
Variant 'release', symbols will be stripped from binaries.
> Configure project :launcher
Variant 'debug', will keep symbols in binaries for:
'libunity.so'
'libil2cpp.so'
'libmain.so'
Variant 'release', symbols will be stripped from binaries.
> Configure project :unityLibrary:FirebaseApp.androidlib
WARNING: minSdkVersion (32) is greater than targetSdkVersion (9) for variant "debug". Please change the values such that minSdkVersion is less than or equal to targetSdkVersion.
WARNING: minSdkVersion (32) is greater than targetSdkVersion (9) for variant "release". Please change the values such that minSdkVersion is less than or equal to targetSdkVersion.
> Task :unityLibrary:xrmanifest.androidlib:preBuild UP-TO-DATE
> Task :unityLibrary:preBuild UP-TO-DATE
> Task :unityLibrary:FirebaseApp.androidlib:preBuild UP-TO-DATE
> Task :unityLibrary:xrmanifest.androidlib:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:FirebaseApp.androidlib:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:preReleaseBuild UP-TO-DATE
> Task :launcher:preBuild UP-TO-DATE
> Task :launcher:preReleaseBuild UP-TO-DATE
> Task :launcher:mergeReleaseNativeDebugMetadata NO-SOURCE
> Task :unityLibrary:FirebaseApp.androidlib:generateReleaseResValues
> Task :unityLibrary:xrmanifest.androidlib:generateReleaseResValues
> Task :unityLibrary:generateReleaseResValues
> Task :unityLibrary:xrmanifest.androidlib:generateReleaseResources
> Task :unityLibrary:FirebaseApp.androidlib:generateReleaseResources
> Task :unityLibrary:generateReleaseResources
> Task :unityLibrary:xrmanifest.androidlib:packageReleaseResources
> Task :unityLibrary:FirebaseApp.androidlib:packageReleaseResources
> Task :unityLibrary:packageReleaseResources
> Task :unityLibrary:xrmanifest.androidlib:javaPreCompileRelease
> Task :unityLibrary:FirebaseApp.androidlib:javaPreCompileRelease
> Task :unityLibrary:javaPreCompileRelease
> Task :unityLibrary:FirebaseApp.androidlib:extractDeepLinksRelease
> Task :unityLibrary:extractDeepLinksRelease
> Task :unityLibrary:xrmanifest.androidlib:extractDeepLinksRelease
> Task :unityLibrary:FirebaseApp.androidlib:writeReleaseAarMetadata
> Task :unityLibrary:writeReleaseAarMetadata
> Task :unityLibrary:xrmanifest.androidlib:writeReleaseAarMetadata
> Task :unityLibrary:xrmanifest.androidlib:parseReleaseLocalResources
> Task :unityLibrary:FirebaseApp.androidlib:parseReleaseLocalResources
> Task :unityLibrary:parseReleaseLocalResources
> Task :unityLibrary:prepareReleaseArtProfile
> Task :unityLibrary:xrmanifest.androidlib:prepareReleaseArtProfile
> Task :unityLibrary:FirebaseApp.androidlib:prepareReleaseArtProfile
> Task :unityLibrary:FirebaseApp.androidlib:compileReleaseLibraryResources
> Task :unityLibrary:xrmanifest.androidlib:compileReleaseLibraryResources
> Task :unityLibrary:xrmanifest.androidlib:processReleaseManifest
package="com.UnityTechnologies.XR.Manifest" found in source AndroidManifest.xml: /Users/nan/Desktop/UnityProjects/TestFirebase/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/xrmanifest.androidlib/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="com.UnityTechnologies.XR.Manifest" from the source AndroidManifest.xml: /Users/nan/Desktop/UnityProjects/TestFirebase/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/xrmanifest.androidlib/AndroidManifest.xml.
> Task :unityLibrary:FirebaseApp.androidlib:processReleaseManifest
package="com.google.firebase.app.unity" found in source AndroidManifest.xml: /Users/nan/Desktop/UnityProjects/TestFirebase/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/FirebaseApp.androidlib/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="com.google.firebase.app.unity" from the source AndroidManifest.xml: /Users/nan/Desktop/UnityProjects/TestFirebase/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/FirebaseApp.androidlib/AndroidManifest.xml.
> Task :unityLibrary:xrmanifest.androidlib:generateReleaseRFile
> Task :unityLibrary:FirebaseApp.androidlib:generateReleaseRFile
> Task :unityLibrary:generateReleaseRFile
> Task :unityLibrary:mergeReleaseShaders
> Task :unityLibrary:xrmanifest.androidlib:mergeReleaseShaders
> Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseShaders
> Task :unityLibrary:processReleaseManifest
/Users/nan/Desktop/UnityProjects/TestFirebase/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/AndroidManifest.xml:14:5-138 Warning:
meta-data#com.oculus.supportedDevices@android:value was tagged at AndroidManifest.xml:14 to replace other declarations but no other declaration present
> Task :unityLibrary:compileReleaseShaders NO-SOURCE
> Task :unityLibrary:xrmanifest.androidlib:compileReleaseJavaWithJavac NO-SOURCE
> Task :unityLibrary:generateReleaseAssets UP-TO-DATE
> Task :unityLibrary:FirebaseApp.androidlib:compileReleaseJavaWithJavac NO-SOURCE
> Task :unityLibrary:compileReleaseLibraryResources
> Task :unityLibrary:FirebaseApp.androidlib:bundleLibRuntimeToDirRelease
> Task :unityLibrary:xrmanifest.androidlib:bundleLibRuntimeToDirRelease
> Task :unityLibrary:xrmanifest.androidlib:bundleLibCompileToJarRelease
> Task :unityLibrary:FirebaseApp.androidlib:bundleLibCompileToJarRelease
> Task :unityLibrary:FirebaseApp.androidlib:compileReleaseShaders NO-SOURCE
> Task :unityLibrary:xrmanifest.androidlib:compileReleaseShaders NO-SOURCE
> Task :unityLibrary:xrmanifest.androidlib:generateReleaseAssets UP-TO-DATE
> Task :unityLibrary:FirebaseApp.androidlib:generateReleaseAssets UP-TO-DATE
> Task :unityLibrary:xrmanifest.androidlib:bundleLibRuntimeToJarRelease
> Task :unityLibrary:FirebaseApp.androidlib:bundleLibRuntimeToJarRelease
> Task :unityLibrary:xrmanifest.androidlib:mergeReleaseAssets
> Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseAssets
> Task :unityLibrary:FirebaseApp.androidlib:processReleaseJavaRes NO-SOURCE
> Task :unityLibrary:xrmanifest.androidlib:processReleaseJavaRes NO-SOURCE
> Task :unityLibrary:FirebaseApp.androidlib:createFullJarRelease
> Task :unityLibrary:xrmanifest.androidlib:createFullJarRelease
> Task :unityLibrary:FirebaseApp.androidlib:extractProguardFiles
> Task :unityLibrary:xrmanifest.androidlib:extractProguardFiles
> Task :unityLibrary:mergeReleaseAssets
> Task :launcher:javaPreCompileRelease
> Task :launcher:checkReleaseDuplicateClasses
> Task :launcher:generateReleaseResValues
> Task :launcher:checkReleaseAarMetadata FAILED
> Task :unityLibrary:xrmanifest.androidlib:generateReleaseLintModel
> Task :unityLibrary:FirebaseApp.androidlib:generateReleaseLintModel
> Task :launcher:mapReleaseSourceSetPaths
> Task :unityLibrary:compileReleaseJavaWithJavac
[Incubating] Problems report is available at: file:///Users/nan/Desktop/UnityProjects/TestFirebase/Library/Bee/Android/Prj/IL2CPP/Gradle/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
57 actionable tasks: 57 executed
UnityEditor.EditorApplication:Internal_CallDelayFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:399)
i am sure that in my Android Manifest, i have these lines:
application field is given in my case.
could anyone help for this issue ? many thanks
Reproducing the issue
Unity6.2 creat empty scene,
add Meta core sdk, Meta interaction SDK
add firebase sdk 13.5
build any example with Meta SDK will produce this error
Firebase Unity SDK Version
13.5.0
Unity editor version
6000.2.12f1
Installation Method
.unitypackage
Problematic Firebase Component(s)
Firestore
Other Firebase Component(s) in use
Firestore
Additional SDKs you are using
Meta SDK v81
WebRTC for Unity, v3.0.0
Targeted Platform(s)
Android
Unity editor platform
Mac
Scripting Runtime
IL2CPP
Release Distribution Type
Pre-built SDK from https://firebase.google.com/download/unity
Relevant Log Output
If using CocoaPods for Apple platforms, the project's Podfile.lock
Expand Podfile.lock snippet
👀 Replace this line with the contents of your Podfile.lock!