use*_*875 6 android plist unity-game-engine ios firebase
我想在 Unity 2020.1.14 中设置 Firebase。
我将 GoogleService-Info.plist 下载到我的资产文件夹中,并在 Firebase 控制台中设置了一个项目。
但是一旦我导入 FirebaseAnalytics 7.0 包,我就会收到此错误:
Generation of the Firebase Android resource file google-services.xml from Assets/GoogleService-Info.plist failed.
If you have not included a valid Firebase Android resources in your app it will fail to initialize.
"python" "/Users/joerg/Projekte/UnityTest/FirebaseTest2012042/Assets/Firebase/Editor/generate_xml_from_google_services_json.py" -i "Assets/GoogleService-Info.plist" -l --plist
Could not find key in plist file: [DATABASE_URL]
Run Code Online (Sandbox Code Playgroud)
如何在 GoogleService-Info.plist 中设置 [DATABASE_URL]?
谢谢约尔格
小智 10
这真的很令人沮丧。原始设置教程中没有提及此问题。我假设更多的人会遇到这个问题。所以这里是解决方案:
创建数据库后。
google-services.json和GoogleService-Info.plist在新生成的文件中有一个"firebase_url":. 以前缺少的。这现在应该修复这个特定的错误消息。
| 归档时间: |
|
| 查看次数: |
4438 次 |
| 最近记录: |