así que está bien ... el problema surge cuando ingreso el comando gradle --daemon
me sale este error
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'RentInCars'. > Could not resolve all files for configuration ':classpath'. > Could not find com.android.tools.build:gradle:7.2. Searched in the following locations: - https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/7.2/gradle-7.2.pom - https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.2/gradle-7.2.pom - https://jcenter.bintray.com/com/android/tools/build/gradle/7.2/gradle-7.2.pom Required by: project : * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/7.3/userguide/command_line_interface.html#sec:command_line_warningsIntenté usar sudo gradle --daemon... todavía me da el mismo error... ¿qué debo probar a continuación?
Como discutimos en los comentarios, necesitará VPN pero no cualquier VPN.
Tienes que saber en qué puerto está trabajando tu vpn.
por ejemplo, si descargó psiphone, puede ir a la configuración, luego a los puertos proxy locales y puede agregar 12345 como puerto, por ejemplo.
luego debe ir a la carpeta .gradle, si usa Windows, generalmente se encuentra en USER/%USERNAME%/.gradle, y cree un gradle.properties global y luego agregue lo siguiente.
systemProp.http.proxyHost=127.0.0.1 systemProp.http.proxyPort=12345 systemProp.https.proxyHost=127.0.0.1 systemProp.https.proxyPort=12345Esto redirigirá todas las conexiones de gradle a su proxy, en el caso de psiphone, por ejemplo.
También he intentado esto y me he enfrentado al mismo problema. Más tarde descubro que Gradle 7.3 aún no se ha agregado aquí