【发布时间】:2021-03-16 18:50:05
【问题描述】:
我想在 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]
如何在 GoogleService-Info.plist 中设置 [DATABASE_URL]?
谢谢 约尔格
【问题讨论】:
-
只是补充一下@iTouch 所说的话:8. 如果您不想被计费,可以从 Firebase 控制台中删除实时数据库
标签: android ios firebase unity3d plist