英文:
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',如果还有其他内容,请告诉我。提前感谢。
英文:
Unable to build the react native project after adding firebase dependencies. PFA the screenshot for build.gradle and ./app/build.gradle[](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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论