FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV Mobile 2024
→
Erreur lors de la compilation de l'exemple Android Zebra Impression
Erreur lors de la compilation de l'exemple Android Zebra Impression
Iniciado por Jean-Philippe Dutto, 23,abr. 2024 17:32 - 3 respuestas
Conéctese…
Jean-Philippe Dutto
#1
Publicado el 23,abril 2024 - 17:32
Bonjour,
J'ai récupéré l'exemple Android Zebra Impression et je ne l'ai pas modifié.
Quand j'essaie de générer l'applicatoin Android j'ai le message suivant.
Est-ce que quelqu'un pourrait m'aider.
Je suis sous Windev 2024 (J'ai intégré les 3 produits dans Windev lors de l'installation) version 01A290061r
Échec de la création de l'application Android <C:\Mes Projets\OTM_Android\Exe\OTM.apk>.
Ligne de commande : "C:\PC SOFT\WINDEV 2024\Personal\Android\OpenJDK\bin\java.exe" -Duser.dir="C:\Mes Projets\OTM_Android\Android\gen" "-Dorg.gradle.appname=C:\Mes Projets\OTM_Android\Android\gen" -classpath "C:\PC SOFT\WINDEV 2024\Personal\Android\Gradle\lib\gradle-launcher-7.5.1.jar" org.gradle.launcher.GradleMain assembleRelease -b "C:\Mes Projets\OTM_Android\Android\gen\build.gradle"
Erreur retournée :
:checkReleaseAarMetadata FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':checkReleaseAarMetadata'.
> Could not resolve all files for configuration ':releaseRuntimeClasspath'.
> Could not resolve com.zebra.printconnectintentswrapper:printconnectintentswrapper:1.2.739.
Required by:
project :
> Could not resolve com.zebra.printconnectintentswrapper:printconnectintentswrapper:1.2.739.
> Could not get resource '
https://dl.google.com/dl/android/maven2/com/zebra/printconnectintentswrapper/printconnectintentswrapper/1.2.739/printconnectintentswrapper-1.2.739.pom
'.
> Could not GET '
https://dl.google.com/dl/android/maven2/com/zebra/printconnectintentswrapper/printconnectintentswrapper/1.2.739/printconnectintentswrapper-1.2.739.pom
'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See:
https://docs.gradle.org/7.5.1/userguide/build_environment.html…
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Could not resolve com.zebra.printconnectintentswrapper:printconnectintentswrapper:1.2.739.
> Could not get resource '
https://jcenter.bintray.com/com/zebra/printconnectintentswrapper/printconnectintentswrapper/1.2.739/printconnectintentswrapper-1.2.739.pom
'.
> Could not GET '
https://jcenter.bintray.com/com/zebra/printconnectintentswrapper/printconnectintentswrapper/1.2.739/printconnectintentswrapper-1.2.739.pom
'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See:
https://docs.gradle.org/7.5.1/userguide/build_environment.html…
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Could not resolve com.zebra.windevmobileprintconnectwrapper:windevmobileprintconnectwrapper:1.2.739.
Required by:
project :
> Could not resolve com.zebra.windevmobileprintconnectwrapper:windevmobileprintconnectwrapper:1.2.739.
> Could not get resource '
https://dl.google.com/dl/android/maven2/com/zebra/windevmobileprintconnectwrapper/windevmobileprintconnectwrapper/1.2.739/windevmobileprintconnectwrapper-1.2.739.pom
'.
> Could not GET '
https://dl.google.com/dl/android/maven2/com/zebra/windevmobileprintconnectwrapper/windevmobileprintconnectwrapper/1.2.739/windevmobileprintconnectwrapper-1.2.739.pom
'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See:
https://docs.gradle.org/7.5.1/userguide/build_environment.html…
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Could not resolve com.zebra.windevmobileprintconnectwrapper:windevmobileprintconnectwrapper:1.2.739.
> Could not get resource '
https://jcenter.bintray.com/com/zebra/windevmobileprintconnectwrapper/windevmobileprintconnectwrapper/1.2.739/windevmobileprintconnectwrapper-1.2.739.pom
'.
> Could not GET '
https://jcenter.bintray.com/com/zebra/windevmobileprintconnectwrapper/windevmobileprintconnectwrapper/1.2.739/windevmobileprintconnectwrapper-1.2.739.pom
'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See:
https://docs.gradle.org/7.5.1/userguide/build_environment.html…
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)
* 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.5.1/userguide/command_line_interface.html…
BUILD FAILED in 2s
3 actionable tasks: 2 executed, 1 up-to-date
Informar
0
0
Jean-Philippe Dutto
#2
Publicado el 24,abril 2024 - 09:54
Autant pour moi, j'avais mis le message issue de mon projet dans lequel j'ai intégré le même composant, voici le message reçu lors de la génération de l'exemple :
Échec de la création de l'application Android <C:\Mes Projets\Mes Exemples\Android Zebra Impression\Exe\Android Zebra Impression.apk>.
Ligne de commande : "C:\PC SOFT\WINDEV 2024\Personal\Android\OpenJDK\bin\java.exe" -Duser.dir="C:\Mes Projets\Mes Exemples\Android Zebra Impression\Android\gen" "-Dorg.gradle.appname=C:\Mes Projets\Mes Exemples\Android Zebra Impression\Android\gen" -classpath "C:\PC SOFT\WINDEV 2024\Personal\Android\Gradle\lib\gradle-launcher-7.5.1.jar" org.gradle.launcher.GradleMain assembleRelease -b "C:\Mes Projets\Mes Exemples\Android Zebra Impression\Android\gen\build.gradle"
Erreur retournée :
:checkReleaseAarMetadata FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':checkReleaseAarMetadata'.
> Could not resolve all files for configuration ':releaseRuntimeClasspath'.
> Could not resolve com.zebra.printconnectintentswrapper:printconnectintentswrapper:1.2.739.
Required by:
project :
> Could not resolve com.zebra.printconnectintentswrapper:printconnectintentswrapper:1.2.739.
> Could not get resource '
https://dl.google.com/dl/android/maven2/com/zebra/printconnectintentswrapper/printconnectintentswrapper/1.2.739/printconnectintentswrapper-1.2.739.pom
'.
> Could not GET '
https://dl.google.com/dl/android/maven2/com/zebra/printconnectintentswrapper/printconnectintentswrapper/1.2.739/printconnectintentswrapper-1.2.739.pom
'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See:
https://docs.gradle.org/7.5.1/userguide/build_environment.html…
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Could not resolve com.zebra.printconnectintentswrapper:printconnectintentswrapper:1.2.739.
> Could not get resource '
https://jcenter.bintray.com/com/zebra/printconnectintentswrapper/printconnectintentswrapper/1.2.739/printconnectintentswrapper-1.2.739.pom
'.
> Could not GET '
https://jcenter.bintray.com/com/zebra/printconnectintentswrapper/printconnectintentswrapper/1.2.739/printconnectintentswrapper-1.2.739.pom
'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See:
https://docs.gradle.org/7.5.1/userguide/build_environment.html…
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Could not resolve com.zebra.windevmobileprintconnectwrapper:windevmobileprintconnectwrapper:1.2.739.
Required by:
project :
> Could not resolve com.zebra.windevmobileprintconnectwrapper:windevmobileprintconnectwrapper:1.2.739.
> Could not get resource '
https://dl.google.com/dl/android/maven2/com/zebra/windevmobileprintconnectwrapper/windevmobileprintconnectwrapper/1.2.739/windevmobileprintconnectwrapper-1.2.739.pom
'.
> Could not GET '
https://dl.google.com/dl/android/maven2/com/zebra/windevmobileprintconnectwrapper/windevmobileprintconnectwrapper/1.2.739/windevmobileprintconnectwrapper-1.2.739.pom
'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See:
https://docs.gradle.org/7.5.1/userguide/build_environment.html…
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Could not resolve com.zebra.windevmobileprintconnectwrapper:windevmobileprintconnectwrapper:1.2.739.
> Could not get resource '
https://jcenter.bintray.com/com/zebra/windevmobileprintconnectwrapper/windevmobileprintconnectwrapper/1.2.739/windevmobileprintconnectwrapper-1.2.739.pom
'.
> Could not GET '
https://jcenter.bintray.com/com/zebra/windevmobileprintconnectwrapper/windevmobileprintconnectwrapper/1.2.739/windevmobileprintconnectwrapper-1.2.739.pom
'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See:
https://docs.gradle.org/7.5.1/userguide/build_environment.html…
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)
* 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.5.1/userguide/command_line_interface.html…
BUILD FAILED in 2s
3 actionable tasks: 2 executed, 1 up-to-date
Informar
0
0
Rubén Sánchez Peña
#3
Miembro registrado
797 mensajes
Popularité : +40 (42 votes)
Publicado el 24,abril 2024 - 21:01
Bonjour, les liens pour télécharger les bibliothèques ne sont pas disponibles et donnent l'erreur 404. Soit il s'agit d'une erreur temporaire, soit la version des bibliothèques indiquées n'est pas correcte.
Rubén
Informar
0
0
Jean-Philippe Dutto
#4
Publicado el 25,abril 2024 - 17:25
J'ai reçu une réponse du support technique.
Google a ajouté des restrictions et il est maintenant obligatoire d'ajouter le nom du ou des packages pouvant être appelés dans le manifeste :Il faut donc ici créer un nœud queries à la racine du manifest et un attribut package_android:name.
Informar
0
0
→ Volver a WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
WEBDEV (versiones precedentes)
WINDEV Mobile (versiones precedentes)
Reports & Queries
Irrelevante
Herramientas
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto