Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 2 Monaten
Letzter Beitrag:
vor 1 Monat, 4 Wochen
Beteiligte Autoren:
ccc2, Christo, André Labuschagné, Allard, Ruben Sanchez Peña

Windev Mobile Generating speed

Startbeitrag von Allard am 24.06.2017 13:35


Yesterday I made my first mobile App !! Yep and I put it on my Android phone and it worked :spos:.

I have a question though:

It takes quite some time for the gradle to finnish.
Generating the app is like 10-15 sec.
The gradle stuff takes 30 - 40 seconds

Then adding the app to the phone takes like 6 seconds

Is this normal behaviour. When I view the pcsoft video they seem to almoast instanly have the app on a phone ?




Hi. You can tuneup the Gradle process. The first app generation is slow, but later the generation is only 15-20 sg.

Currenly in using Gradle 3.5 because verion 4.0 give me errors with WM22

You can create a file C:\Users\\.gradle\gradle.properties like this content:

# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Settings specified in this file will override any Gradle settings
# configured through the IDE.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# The Gradle daemon aims to improve the startup and execution time of Gradle.
# When set to true the Gradle daemon is to run the build.
# TODO: disable daemon on CI, since builds should be clean and reliable on servers

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
org.gradle.jvmargs=-Xms1g -Xmx6g -XX:MaxPermSize=1g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects

# Enables new incubating mode that makes Gradle selective when configuring projects.
# Only relevant projects are configured which results in faster builds for large multi-projects.
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:configuration_on_demand

org.gradle.java.home=D:\\Program Files\\Java\\jdk1.8.0_131






von Ruben Sanchez Peña - am 24.06.2017 14:20
in case nobody notice. the main reasons for it slow is because the output file (apk) grow triple in wm22.

my app from 4mb in wm21 grow to 13mb in wm22.
I using same latest version of gradle and android sdk on wm21 and wm22.

if you want to test , in this post will tell you what need to change in order to use latest gradle on wm21

you no need todo any setting on wm22.

you will notice wm21 faster alot than wm22, but actually they are same if you compare file size and time

i notice this on pre release version. the final version still same . I guess we will just have to used to it.

von ccc2 - am 24.06.2017 18:05
Hi ccc2

You may find that it is including the H file system by default. Check that out and remove it. There has been discussion about this elsewhere.


von André Labuschagné - am 25.06.2017 23:54
André Labuschagné
Hi ccc2

You may find that it is including the H file system by default. Check that out and remove it. There has been discussion about this elsewhere.


really ?, how to uncheck . I don't see the option in WM22 .

von ccc2 - am 26.06.2017 07:18
Hi Guys

The size of the application relates to the "com" library,

From v22 functions like httprequest uses the "com" library, and is therefore included in the .apk, which results in the increased apk size, a new project, 1 window , 1 httprequest resulted on a 10MB .apk.

Kind Regards

von Christo - am 26.06.2017 08:10
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.