PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → WM27 Android] Erreur de génération sans rien avoir changé au code du projet
WM27 Android] Erreur de génération sans rien avoir changé au code du projet
Débuté par Cezame, 16 jan. 2023 18:52 - 4 réponses
Posté le 16 janvier 2023 - 18:52
Je me retrouve avec ces deux erreurs lors de la génération d'un projet:

Echec de la création de l'application Android <D:\Dévellopement\Projets Windev Mobile 27\Android GPS\Exe\Application Android\Cezame Hunter Light.apk>.


Ligne de commande : "C:\Users\cezam\AppData\Roaming\PC SOFT\27.0\Android\OpenJDK\bin\java.exe" -Duser.dir="C:\Users\cezam\AppData\Local\Temp\8DB6250DC49974129583060C959070E3" "-Dorg.gradle.appname=C:\Users\cezam\AppData\Local\Temp\8DB6250DC49974129583060C959070E3" -classpath "C:\Users\cezam\AppData\Roaming\PC SOFT\27.0\Android\Gradle\lib\gradle-launcher-7.0.2.jar" org.gradle.launcher.GradleMain assembleRelease -b "C:\Users\cezam\AppData\Local\Temp\8DB6250DC49974129583060C959070E3\build.gradle"


Erreur retournée :
:lintVitalAnalyzeRelease FAILED
> Task :mergeDexRelease

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':lintVitalAnalyzeRelease'.
A failure occurred while executing com.android.build.gradle.internal.lint.AndroidLintWorkAction

> java.lang.reflect.InvocationTargetException (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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Failed to notify build listener.
> com/intellij/mock/MockProject

* 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.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/7.0.2/userguide/command_line_interface.html…

BUILD FAILED in 31s
34 actionable tasks: 12 executed, 22 up-to-date



Quelqu'un peut me dire à quoi elles correspondent?

Pr avance merci
Posté le 17 janvier 2023 - 11:05
Essai sur un projet une fenêtre une liste un bouton.

Même erreur.
Posté le 17 janvier 2023 - 15:12
Suppression du dossier temporaire et du dossier Android du projet.

Nouvelle erreur.

Echec de la création de l'application Android <D:\Dévellopement\Projets Windev Mobile 27\Android GPS\Exe\Application Android\Cezame Hunter Light.apk>.


Ligne de commande : "C:\Users\cezam\AppData\Roaming\PC SOFT\27.0\Android\OpenJDK\bin\java.exe" -Duser.dir="C:\Users\cezam\AppData\Local\Temp\8DB6250DC49974129583060C959070E3" "-Dorg.gradle.appname=C:\Users\cezam\AppData\Local\Temp\8DB6250DC49974129583060C959070E3" -classpath "C:\Users\cezam\AppData\Roaming\PC SOFT\27.0\Android\Gradle\lib\gradle-launcher-7.0.2.jar" org.gradle.launcher.GradleMain assembleRelease -b "C:\Users\cezam\AppData\Local\Temp\8DB6250DC49974129583060C959070E3\build.gradle"


Erreur retournée :

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project '8DB6250DC49974129583060C959070E3'.
> Could not load compiled classes for build file 'C:\Users\cezam\AppData\Local\Temp\8DB6250DC49974129583060C959070E3\build.gradle' from cache.

* 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

BUILD FAILED in 1s
Membre enregistré
23 messages
Posté le 03 mars 2023 - 10:24
j'ai le même souci depuis l'installation de la dernière version de WindevMobile (01F280066p).

tu as trouvé une solution ?
Membre enregistré
950 messages
Popularité : +53 (63 votes)
Posté le 03 mars 2023 - 11:17
Bonjour,

Il faut vider le repertoire : "C:\Users\%username%\AppData\Local\Temp\"

Jordan