Gradle fails to build

I just run npx cap open android

after the android studio opens gradle fails to build

A problem occurred configuring root project ‘android’.
Could not resolve all files for configuration ‘:classpath’.
Could not find com.android.tools.build:gradle:8.0.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/8.0.0/gradle-8.0.0.pom
- https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/8.0.0/gradle-8.0.0.pom
Required by:
project :
Could not find com.google.gms:google-services:4.3.15.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.3.15/google-services-4.3.15.pom
- https://repo.maven.apache.org/maven2/com/google/gms/google-services/4.3.15/google-services-4.3.15.pom
Required by:
project :

I tried to make another app but is same

Looks like a connectivity problem on your end, the google link is downloading fine for me, the maven link returns 404.

Does the google link works in your browser?

me too gives me 404.

i tested on microsoft edge and firefox but is same.

But the google link or the maven link? the google link is working fine for me.
If none of them work for you, then it’s a connectivity problem in your end.

The google links works for me too.

But i tested on my laptop, is same :grimacing:
I thing it’s a bug from capacitorjs.