Android project update and how to solve: “Failed to resolve: monitor”?

  • A+

Because of problem that jcenter() remove some older libs I decide to update my project. So now I have:

 gradle: 4.6 


classpath '' classpath '' 

I almost solve every dependency but I get

Failed to resolve: monitor 

without any clue what is that monitor ;(


Same for me. It works If I comment espresso libraries and:

androidTestImplementation '' androidTestImplementation ''

I´ve found a solution. Put google() at the beggining in

buildscript { repositories { google()


allprojects { repositories { google()

in project gradlew


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