Skip to main content

I had the same problem, the first thing that came onto mind was about repositories. So iI checked build.gradlethe build.gradle file for the whole project and added below linesthe following code, then synchronized the gradle with project and problem was solved! Hope will help someone else.

allprojects { repositories { jcenter() } } 

I had the same problem, first thing came on mind was about repositories. So i checked build.gradle file for the whole project and added below lines, synchronized the gradle with project and problem solved! Hope will help someone else.

allprojects { repositories { jcenter() } } 

I had the same problem, the first thing that came to mind was repositories. So I checked the build.gradle file for the whole project and added the following code, then synchronized the gradle with project and problem was solved!

allprojects { repositories { jcenter() } } 
Source Link
code8x
  • 2k
  • 15
  • 17

I had the same problem, first thing came on mind was about repositories. So i checked build.gradle file for the whole project and added below lines, synchronized the gradle with project and problem solved! Hope will help someone else.

allprojects { repositories { jcenter() } }