question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not find com.google.code.gson:gson:2.8.5.

See original GitHub issue

image

Could not find com.google.code.gson:gson:2.8.5.
Searched in the following locations:
  - https://dl.google.com/dl/android/maven2/com/google/code/gson/gson/2.8.5/gson-2.8.5.pom
  - https://dl.google.com/dl/android/maven2/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar
Required by:
    project : > com.google.gms:google-services:4.3.3

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:7
  • Comments:6

github_iconTop GitHub Comments

13reactions
fireflyfoliocommented, Feb 20, 2020

Hey Guys,

Look at this page : https://github.com/firebase/quickstart-android/blob/master/messaging/build.gradle

Copy the blocks “buildscript” and “allprojects” into your build.gradle file, or complete if they’re already defined. Try to sync again. It works for me. What’s about you?

0reactions
Edison4mobilecommented, May 24, 2022

@quentinthai great thanks. bro

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix "Failed to resolve: com.google.gson:gson:2.8.5" in ...
The groupID should be com.google.code.gson instead of ... Change it to the above, resync the project, and the error should go away.
Read more >
com.google.code.gson : gson : 2.8.5 - Maven Central
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
Read more >
com.google.code.gson - Maven Repository
Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to...
Read more >
Bug: very simple code got ruined by gradle on release, most ...
It's not easy to find the cause for it, and we already use the latest version of Gson: api 'com.google.code.gson:gson:2.8.5' It breaks Java ......
Read more >
Could Not Resolve Com.Google.Code.Gson:Gson:2.7 - ADocLib
implementation 'com.google.code.gson:gson:2.8.5'.Change it to the above resync the project and the error should go away. https://mvnrepository.com/artifact ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found