PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → Generating on Android
Generating on Android
Débuté par Paul CLARIPAUL ISIP, 14 juil. 2016 05:33 - 3 réponses
Membre enregistré
9 messages
Posté le 14 juillet 2016 - 05:33
Good Day Sirs. I have a problem on generating on my android device.
Membre enregistré
9 messages
Posté le 14 juillet 2016 - 05:47
file:///C:/Users/Claripaul/Desktop/PROBLEM/Generating%20on%20Android.jpg
Membre enregistré
9 messages
Posté le 14 juillet 2016 - 05:52
I cant send the screen shot here. but this is the error Message.


Failure creating the Android application named <C:\My Mobile Projects\Crowd Watch Design\Exe\Crowd Watch Design.apk>.


Command Line: "C:\Program Files\Java\jdk1.8.0_92\bin\java.exe" "-Dorg.gradle.appname=C:\My Mobile Projects\Crowd Watch Design\Android\Generation" -classpath "C:\Program Files\gradle-launcher\gradle-launcher\lib\gradle-launcher-2.14.jar" org.gradle.launcher.GradleMain assembleDebug -b build.gradle


Error returned:

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\My Mobile Projects\Crowd Watch Design\Android\Generation\build.gradle' line: 13

* What went wrong:
A problem occurred evaluating root project 'Generation'.
> Failed to apply plugin [id 'com.android.application']
> Gradle version 2.2 is required. Current version is 2.14. If using the gradle wrapper, try editing the distributionUrl in C:\My Mobile Projects\Crowd Watch Design\Android\Generation\gradle\wrapper\gradle-wrapper.properties to gradle-2.2-all.zip

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 4.847 secs
Membre enregistré
637 messages
Popularité : +36 (36 votes)
Posté le 15 juillet 2016 - 06:17
Hi Paul,

This is your version of Gradle. You have to use 2.9 version max.

http://doc.windev.com/en-US/…
https://gradle.org/gradle-download/

Select 2.9 max and then don't forget to modify the path when compiling.

regards,
Eric.

--
Eric DELATTRE
http://www.yoosite.fr
Message modifié, 15 juillet 2016 - 06:18