Speed up flet debug by caching build template and tarballs #6555
Unanswered
MarkusPiotrowski
asked this question in
Q&A
Replies: 2 comments
-
|
Sub to this issue: #6557 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You can try it already with Flet 0.85.3.dev1. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
On my system (Windows 11, internet connection via LAN) building an Android app in debug mode takes about 5 - 15 minutes until the app starts on the phone.
A significant part of this time is spent for downloading the
flet-build-template.zipand thepython-android-dart...tarballs, because they are not cached:Unfortunately, using
--archfor setting the architecture of my connected device does not help here, because the other tarballs are still downloaded.Is it possible to cache these files, at least in debug mode or to have a switch in debug mode to allow for caching? I think that during debugging it is quite usual to restart the app quite often after small changes and this long build process is really annoying.
Interestingly, builds are much faster in the night (around 5 min) than during the day (I'm in Germany), indicating that download bandwidth from Github may be limiting here.
Code sample
No response
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions