anonymous Log in
Search
Recents:
v3.0
sd
Error al compilar Android Gx16U5
25/10/19 15:38

Paulo Andrés Sa88723

Replies: 4

Abri KB e hice rebuild pero al compilar Android me esta dando:
========== Android Compilation started ==========
Command: gradle :sdpMenuPrincipal:assembleRelease --no-daemon --parallel
-Dorg.gradle.jvmargs=-Xmx3072m
-Dorg.gradle.internal.launcher.welcomeMessageEnabled=false
To honour the JVM settings for this build a new JVM will be forked. Please
consider using the daemon:
https://docs.gradle.org/5.4.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
error:
error: FAILURE: Build failed with an exception.
error:
error: * What went wrong:
error: A problem occurred configuring root project 'Android'.
error: > Could not resolve all artifacts for configuration ':classpath'.
error: > Could not resolve com.android.tools.build:gradle:3.4.1.
error: Required by:
error: project :
error: > Could not resolve com.android.tools.build:gradle:3.4.1.
error: > Could not get resource '
https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.4.1/gradle-3.4.1.pom
'.
error: > Could not GET '
https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.4.1/gradle-3.4.1.pom
'.
error: > Connect to dl.google.com:443 [
dl.google.com/216.58.222.46] failed: Connection refused: connect
error: > Could not resolve com.android.tools.build:gradle:3.4.1.
error: > Could not get resource '
https://jcenter.bintray.com/com/android/tools/build/gradle/3.4.1/gradle-3.4.1.pom
'.
error: > Could not GET '
https://jcenter.bintray.com/com/android/tools/build/gradle/3.4.1/gradle-3.4.1.pom
'.
error: > Connect to jcenter.bintray.com:443 [
jcenter.bintray.com/52.24.168.80, jcenter.bintray.com/52.37.182.152]
failed: Connection refused: connect
error: > Could not resolve com.google.gms:google-services:4.2.0.
error: Required by:
error: project :
error: > Could not resolve com.google.gms:google-services:4.2.0.
error: > Could not get resource '
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.2.0/google-services-4.2.0.pom
'.
error: > Could not GET '
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.2.0/google-services-4.2.0.pom
'.
error: > Connect to dl.google.com:443 [
dl.google.com/216.58.222.46] failed: Connection refused: connect
error: > Could not resolve com.google.gms:google-services:4.2.0.
error: > Could not get resource '
https://jcenter.bintray.com/com/google/gms/google-services/4.2.0/google-services-4.2.0.pom
'.
error: > Could not GET '
https://jcenter.bintray.com/com/google/gms/google-services/4.2.0/google-services-4.2.0.pom
'.
error: > Connect to jcenter.bintray.com:443 [
jcenter.bintray.com/52.24.168.80, jcenter.bintray.com/52.37.182.152]
failed: Connection refused: connect
error:
error: * Try:
error: 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.
error:
error: * Get more help at https://help.gradle.org
error:
error: BUILD FAILED in 19s
Android Compilation Failed
Replies

fpanizza

30/10/19 10:14
Hola, Tienes acceso a internet en esa maquina?, Parece que no puede acceder a dl.google.com. Al menos en el primer build es necesario tener acceso a los repositorio google, jcenter. etc. Connect to dl.google.com:443 [dl.google.com/216.58.222.46] failed: Connection refused: connect On Fri, Oct 25, 2019 at 3:39 PM Paulo Sapuppo

Paulo Andrés Sa88723

30/10/19 11:33
Ahh! ok! El tema es que paso por proxy con autenticacion... ahora veo de que manera puedo configurar eso o si tenes algún tip Saludos! Paulo El mié., 30 de oct. de 2019 a la(s) 10:14, Fernando Panizza Carve ( fpanizza@genexus.com)

Paulo Andrés Sa88723

31/10/19 12:55
Hola Fernando, sabes que estoy teniendo problemas con este tema dado que si o si paso por proxy, habrá forma de configurarlo en Gx? O correr de forma manual esta instalación? Gracias! Saludos! Paulo El mié., 30 de oct. de 2019 a la(s) 10:14, Fernando Panizza Carve ( fpanizza@genexus.com)

fpanizza

01/11/19 13:09
No, hoy no es configurable. Probaria configurarlo en Android Studio como dice aca: http://www.testingtools.co/appium/connect-to-jcenter-bintray-com443-jcenter-bintray-com159-122-18-156-failed-connection-refused-connect Si eso te funciona en un proyecto en AS, luego copiaria la configuración a gradle.properies de genexus o mejor aún al usuario que aplicaría a todos los proyectos (C:\Users\\.gradle\gradle.properties) On Thu, Oct 31, 2019 at 12:55 PM Paulo Sapuppo


Back to sd