简体   繁体   English

删除或更改google-services.json文件

[英]Delete or change google-services.json file

I have some conflict in my google-services.json file because of that I want to change the json file to another I couldn't delete the file I ve searched a lot . 我的google-services.json文件中存在一些冲突,因为我想将json文件更改为另一个文件,因此无法删除搜索过很多的文件。 I couldn't find the answer . 我找不到答案。 What the solution for it. 有什么解决方案。

step 1 : just download the new fresh google-services.json. 第1步 :只需下载新的最新google-services.json。

step 2 : copy the file. 步骤2 :复制档案。

step 3 : paste it to Project view -> app folder in your android-studio app. 第3步 :将其粘贴到android-studio应用中的项目视图->应用文件夹中。

Now, Old file is overwritten with new one. 现在,旧文件被新文件覆盖。

该json文件在android-studio缓存中引用,因此一旦关闭您的android studio,然后删除此文件,它将删除..希望对您有帮助...

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

相关问题 google-services.json:打开失败:ENOENT(无此文件或目录) - google-services.json: open failed: ENOENT (No such file or directory) 无法解析 google-services.json - Unable to parse google-services.json Android Studio Gradle“文件google-services.json缺少模块根目录。 没有它,Google Services插件将无法运行。” - Android Studio Gradle“File google-services.json missing module root. The Google Services Plugin cannot function without it.” 模块根文件夹中缺少Google-services.json - Google-services.json is missing from module root folder 如何在不迁移到firebase的情况下获取google-services.json - How to get google-services.json without migrating to firebase 在Android中进行测试时,请使用其他的“ google-services.json” - Use a different `google-services.json` when testing in Android 来自google-services.json的AndroidManifest.xml中的Google Maps键 - Google Maps key in AndroidManifest.xml from google-services.json google-services.json如何取代default_web_client_id? - How does google-services.json replace default_web_client_id? Google Http正文删除(Json) - Google Http delete with body (Json) 从Java中的json文件中删除Json对象 - Delete a Json object from a json file in java
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM