I’m facing errors when compiling the app, the error is in the DX execution failed, I don’t know how to solve it, someone can help me, I need to present this project urgently, grateful
1 Like
How much components / screens you have ? You can use unchive.kodular.io to know .
2 Likes
Taifun
December 13, 2020, 1:39am
#3
Pedro_Aguiar:
DX execution failed
after doing a search in the community you could have found this
your error message is DX execution failed
this is a very general error message and therefore it’s hard to say, what might be the issue in your case
however there is SteveJG’s monster list of tips and tricks you can check for possible reasons…
good luck!
let us know, what you find out…
btw. it would help to search the forum…
Taifun
Taifun
2 Likes
As you managed to solve the problem in DX compilation, I am having this problem and I need to solve it urgently. thankful
Using many screens will cause the compiling process to fail due to DX execution error, try to use less screen as possible and use virtual screens (ex:- vertical arrangements) instead ( that would also reduce the usage of the side menu layout ), see also tip 1 here:
Use different screens wisely
Before starting to create another screen, first you should think about is it really necessary? See also Building apps with many screens and SteveJG’s post about advantages/disadvantages , because in only one screen you also can use vertical arrangements to simulate different screens, just set the arrangements to visible = true/false as needed…
If you decided to use different screens, then you should switch them correctly, else you will run out of memory after a wh…
Also, it seems from your screenshot, that you use same component many times, try to use dynamic components instead if static components instead:
Dynamic Components Extension
that supports every component in your AI2 distribution, instead of having pre-defined components.
I thought about making a full method to create all dynamic components without creating different blocks for every component because it would be useless. So I was trying to find a proper solution for a long time. And here it is!
The minimum required API version for this extension is 1 .
It basically uses Java’s Reflection feature, so this allows you to create…
And to reuse the components multiple times.
3 Likes
Rogerio_Rios
(Professional Support)
December 13, 2020, 6:43pm
#7
Welcome !
Complementing what @Mohamed_Tamer said:
32MB
Actually no, but you will get a warning after creating more then 10, since it’s not recommended having more then so because of stability/functionality of your app
4 Likes
Boban
(Boban Stojmenovic)
December 14, 2020, 4:19pm
#8
Unfortunately, the only option you have is to redesign your app, also I bet that most of the screens are identical…
Just to add that this statement is no longer valid, there is no popup/warning when creating more then 10 screens…