I have a problem with gradle. it was working fine but all of sudden when I was rebuilding the project it gives me this error:
Error:Failed to resolve
my code was like this..
so after searching enough i solved it by adding maven in my gradle file..
its solved then..