没有google-services.json,但仍然从我的Firebase项目中获取远程配置 [英] No google-services.json but still fetching the remote config from my Firebase project
问题描述
我正尝试从旧项目更改新项目的google-services.json
文件.因此,我一个接一个地删除了旧的json文件并将其粘贴在两个地方以进行测试.
I was trying to change google-services.json
file of new project from old one. So, I deleted the old one and pasted new json file in two places one by one to test.
- 应用/
- app/src
1个案例不起作用,因此尝试了2个案例.但是也没有用.两种情况都从旧项目中获取配置.
1 case didn't work, so, tried 2 case. But didn't work either. Both cases fetch config from the old project.
因此,我在项目中完全删除了应用程序.然后尝试.仍在工作!
So, I deleted app completely in the project. And then tried. Still working!
然后,我删除了笔记本电脑中的所有google-services.json
文件.然后尝试.但仍然可以正常工作.
And then, I deleted all google-services.json
files in my laptop. And then tried. BUT STILL WORKING.
我该如何解决这个问题?
How can I solve this problem?
推荐答案
使缓存无效&重新启动Android Studio
Invalidate cache & Restart Android Studio
OR
从资源管理器或查找器中删除app/build
目录&重建项目
Delete app/build
Directory from explorer or finder & Rebuild Project
这篇关于没有google-services.json,但仍然从我的Firebase项目中获取远程配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!