PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → Error on WM25 after last update
Error on WM25 after last update
Débuté par Sarah, 12 nov. 2020 12:31 - 3 réponses
Posté le 12 novembre 2020 - 12:31
Hi all,

I've updated WM25 (64 bit) to the latest version 01F250090f however I'm getting the below error on all my projects when I try to generate any one of them.
Any help is appreciated. Thanks a lot!

Regards
Sarah



Failure creating the Android application named <D:\My Mobile Projects\\Exe\.apk>.

Command line: "C:\Program Files\Java\jdk-9.0.1\bin\java.exe" -Duser.dir="D:\My Mobile Projects\\Android\gen" "-Dorg.gradle.appname=D:\My Mobile Projects\\Android\gen" -classpath "D:\WINDEV Mobile 25\Personnel\Android\Gradle\lib\gradle-launcher-5.4.1.jar" org.gradle.launcher.GradleMain assembleRelease -b "D:\My Mobile Projects\\Android\gen\build.gradle"


Error returned:
:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileReleaseJavaWithJavac'.
> java.lang.reflect.UndeclaredThrowableException

* 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 9s
10 actionable tasks: 6 executed, 4 up-to-date
Membre enregistré
794 messages
Popularité : +40 (42 votes)
Posté le 14 novembre 2020 - 23:16
Hi. You can try using JDK 1.8.

Rubén
Posté le 16 novembre 2020 - 09:47
Hi Rubén

Thanks for your reply. Will definitely give it a try.
Posté le 17 novembre 2020 - 08:53
Hi Rubén

Worked great! Thanks a lot!