简体   繁体   English

Android 工作室 - 将 firebase 项目更改为 android 应用程序

[英]Android studio - Change firebase project for an android app

I need to change the firebase project connected to my android app in development.我需要在开发中更改连接到我的 android 应用程序的 firebase 项目。

What I've done - I created a new firebase project, added my app, added the necessary sha 1 keys and downloaded the google_services.json file and replaced the content of the file with that in my android studio project.我所做的 - 我创建了一个新的 firebase 项目,添加了我的应用程序,添加了必要的 sha 1 密钥并下载了 google_services.json 文件并将该文件的内容替换为我的 android 工作室项目中的内容。

The issue now is that the android project is still connected to my old firebase project.现在的问题是 android 项目仍然连接到我的旧 firebase 项目。

What am I not doing right pls我做错了什么

Thank you all for your effort.谢谢大家的努力。 Rebuilding the project fixed the issue.重建项目解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM