Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 1 Jahr, 11 Monaten
Letzter Beitrag:
vor 1 Jahr, 11 Monaten
Beteiligte Autoren:
Yogi Yang, Arie, Danny Lauwers

[WM] - How to put APK on diet?

Startbeitrag von Yogi Yang am 08.07.2016 13:37


On a mobile app that I am working on I have observed that the more I edit existing project its final compiled APK file size seems to increase drastically (from 4.5 MB to 18 MB). I don't understand as to why.

So I experimented by copying the whole project folder from its current folder to another folder.
Opened the project in WM and then changed its name, added a few controls to main window.
In compile wizard I changed the package id and APK name.

Final compiled APK size was 5 MB only!

Any ideas as to why this is happening and how can I get WM to put the finally compiled APK on a diet?


Yogi Yang



Have you included the HFSQL lib into the exe, this makes it extra large when compiled. It is one of the options in the wizard for creating the APK.


von Danny Lauwers - am 08.07.2016 13:40

No I have not included the HFSQL library as we are using the default DB SQLite.


Yogi Yang

von Yogi Yang - am 11.07.2016 06:35
Hi Yogi Yang,

WM uses a temp-map for compilation and building the apk. Maybe it uses it as a cache too, to rebuild only part that have cahnged, I'm not sure.
But removing this map helped me in situations where the build process acually failed with some uncommon reasons.
On my machine it is called

Try reomving such a map and rebuild the apk.

von Arie - am 11.07.2016 08:10
Thanks Arie.

This tip solved my problem!


Yogi Yang

von Yogi Yang - am 11.07.2016 14:16
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.