Home → WINDEV Mobile 27 → Error while generating Android app
Error while generating Android app
Started by Humele, Sep., 15 2022 1:45 PM - 1 reply
Registered member
2 messages
Posted on September, 15 2022 - 1:45 PM
As on some other topic, which has been fixed, (http://forum.pcsoft.com/en-US/windevmobile/26508-cle-google-map-lors-generation-application-android-26510/Read.awp), I want to generate an app on WinDev Mobile 22

At the very end, I have these messages

Failed to create the Android application <C: \ My Mobile Projects \ My_AndreamProject \ Exe \ My_Project_Android.apk>.

Command line: "C: \ Program Files \ Java \ jdk1.8.0_72 \ bin \ java.exe" "-Dorg.gradle.appname = C: \ My Mobile Projects \ My_Project_Android \ Android \ Generation" -classpath "C: \ Gradle \ lib \ gradle-launcher.jar "org.gradle.launcher.GradleMain assembleDebug -b build.gradle

Returned error:
Org.gradle.api.internal.classpath.UnknownModuleException: Can not locate JAR for 'gradle-launcher' module IN distribution directory 'C: \ gradle'.
At org.gradle.api.internal.classpath.DefaultModuleRegistry.loadModule (DefaultModuleRegistry.java:108)
At org.gradle.api.internal.classpath.DefaultModuleRegistry.getModule (DefaultModuleRegistry.java:77)
At org.gradle.api.internal.DefaultClassPathProvider.findClassPath (DefaultClassPathProvider.java:33)
At org.gradle.api.internal.DefaultClassPathRegistry.getClassPath (DefaultClassPathRegistry.java:34)
At org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit (ProcessBootstrap.java:49)
At org.gradle.launcher.bootstrap.ProcessBootstrap.run (ProcessBootstrap.java:37)
At org.gradle.launcher.GradleMain.main (GradleMain.java:23)
And I do not know what to do with it, if you have a solution ..
Registered member
638 messages
Popularité : +40 (42 votes)
Posted on September, 19 2022 - 11:00 PM
Hello, It seems to be a problem with the Gradle installed. The Java JDK version also seems to be very obsolete.