无法解决 com.google.gms:google-services:4.3.15

huangapple go评论62阅读模式
英文:

Could not resolve com.google.gms:google-services:4.3.15

问题

无法在添加 Firebase 依赖项后构建 React Native 项目。请参考以下内容的 build.gradle 和 ./app/build.gradle 的屏幕截图。

如果有人最近遇到了相同类型的问题并能够提供解决方案,请告知。此外,我已经尝试了 classpath 'com.google.gms.google-services:4.3.15' 应更改为 classpath 'com.google.gms:google-services:4.3.15',如果还有其他内容,请告诉我。提前感谢。

英文:

无法解决 com.google.gms:google-services:4.3.15无法解决 com.google.gms:google-services:4.3.15Unable to build the react native project after adding firebase dependencies. PFA the screenshot for build.gradle and ./app/build.gradle[无法解决 com.google.gms:google-services:4.3.15](https://i.stack.imgur.com/yzwXm.png).

If anyone experience the same kind of problem recently and can provide with the solution .Also have tried doing classpath 'com.google.gms.google-services:4.3.15' Should be classpath 'com.google.gms:google-services:4.3.15' so if there is anything else let me know. Thanks in advance

答案1

得分: 1

你是否在使用任何类型的VPN?似乎是网络问题,你的本地网关不允许你连接到依赖服务器。

英文:

Are you using any kind of VPN? Seems to be a network issue, your local gateway is not allowing you to connect to dependency servers.

huangapple
  • 本文由 发表于 2023年7月10日 13:48:00
  • 转载请务必保留本文链接:https://go.coder-hub.com/76650934.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定