Hello today i want to run android project but getting error like this, anyone know how to solve this issue, i check https://jcenter.bintray.com/ is down (403), is anyone face same issue with me ? please reply if you know how to fix this, thanks
Asked
Active
Viewed 214 times
0
-
jcenter is probably not down. HTTP status code 403 means "Forbidden", so they revoked your access rights, or they require authorization headers. I also ran into that problem with jcenter recently, when I had to test a build tool that would repeatedly access their servers and cause 404 errors. My guess is they temporarily ban IP addresses for too many or bad requests. You could try switching to `mavenCentral()` instead of `jcenter()` in your repositories configuration. Not sure if all Android libraries are also published there, but it's worth a shot – tiguchi Mar 16 '21 at 02:37
-
i am already try switching from jcenter() to mavenCentral() but still got the error – Ahmad Dudayef Mar 16 '21 at 03:14
-
Use the google() repo to download the google play services libraries – Gabriele Mariotti Mar 16 '21 at 10:12