i was getting this error after i formatted and re build my OS with new android studio version. anyway i found the reason.
because the jcenter() library depritiated and gives its place to mavenCenteral(), new projects come with mavenCentral(). however the mavenCentral() does not support your library some how, but if jcenter() with mavenCentral() you get a warning to replace the Jcenter with mavenCentral but it works fine
hi
i was getting this error after i formatted and re build my OS with new android studio version. anyway i found the reason. because the jcenter() library depritiated and gives its place to mavenCenteral(), new projects come with mavenCentral(). however the mavenCentral() does not support your library some how, but if jcenter() with mavenCentral() you get a warning to replace the Jcenter with mavenCentral but it works fine