PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → Generation error WinDevMobile23
Generation error WinDevMobile23
Débuté par jackp_MDB, 19 juin 2018 00:01 - 2 réponses
Posté le 19 juin 2018 - 00:01
Just running the tutorial trying to learn how to use WinDev23Mobile and I keep getting the error shown below. I am new to Android Studio/SDK and Gradle so don't have any ideas what to search for/change. Any help is appreciated.

Error Message is:
"Failure creating the Android application named <C:\My Mobile Projects\My Examples\WM Managing Products (Answers)\Exe\Android Application\WM_Managing_Products.apk>.

Command Line: "C:\Program Files\Java\jdk1.8.0_172\bin\java.exe" "-Dorg.gradle.appname=C:\My Mobile Projects\My Examples\WM Managing Products (Answers)\Android\Gen" -classpath "C:\Program Files\gradle-4.8\lib\gradle-launcher-4.8.jar" org.gradle.launcher.GradleMain assembleDebug -b "C:\My Mobile Projects\My Examples\WM Managing Products (Answers)\Android\Gen\build.gradle"

Error returned:

> Configure project :
WARNING: The `android.dexOptions.incremental` property is deprecated and it has no effect on the build process.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'Gen'.
Failed to notify project evaluation listener.

> com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V

* 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 5.0.
See https://docs.gradle.org/4.8/userguide/command_line_interface.html…

BUILD FAILED in 1s
Posté le 19 juin 2018 - 13:22
Hi Jack

did you follow these instructions precisely?
ùhttp://doc.windev.com/en-US/…

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Free Video Courses, free WXShowroom.com, open source WXReplication, open
source WXEDM.

More information on http://www.fabriceharari.com


On 6/18/2018 4:01 PM, jackp_MDB wrote:
> property is deprecated
Membre enregistré
794 messages
Popularité : +40 (42 votes)
Posté le 19 juin 2018 - 16:39
Hi. WM isn't Gradle 4.x compatible. The last Gradle usable version is 3.5.1

Rubén