The compiler error - DX execution failed

Getting error -
Kodular is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating fragment xml
________Creating listview xml in res/layout/…
________Creating listview xml in res/layout-v21/…
________Creating xml in res/drawable/…
________Creating splash png in res/drawable/…
________Creating colors xml
________Creating styles xml
________Creating drawables xml v21
________Checking for firebase
________Creating provider_path xml
________Creating network_security_config xml
________Generating adaptive icon file
________Generating round adaptive icon file
________Generating adaptive icon background file
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 1.17 seconds
________Compiling source files
(compiling io/kodular/yashagarwaljaipur/World_Of_Sounds/Screen1.yail to io.kodular.yashagarwaljaipur.World_Of_Sounds.Screen1)
(compiling /tmp/runtime6458243650290595638.scm to com.google.youngandroid.runtime)
Kawa compile time: 2.939 seconds
________Invoking DX
YAIL compiler - DX execution failed.
.

Note:- I have read almost all the threads related to this topic but still didn’t find the solution-

Unchive -

I am not using any extension, also there is no error or warning in any of my blocks.
My package name is correct and i have also check the aia file there is no duplicate files there.

Now please provide me the solution. I think its a bug

List of possible reasons for the DX Execution error are given here…

https://groups.google.com/g/mitappinventortest/c/fLiMEfPh09Q/m/1Ia0AaQEXogJ

I have read most of them but still didn’t find the solution. Yeah if i split that into 2 screen it work well. But why should i ? i didn’t over crossed any size limit.

Is there any limit of number of any particular component ?

May be due to 400+ labels and 200+ buttons… also 270+ spaces…

This is too risky

You could use dynamic component too for that if possible

may be but after i finished with added labels and buttons it was working fine. But after i add some 200-300 blocks, this error comes. Its a bug in Kodular.

And i really don’t know how to use dynamic components :stuck_out_tongue_closed_eyes: I am not that pro

anyways, i just split my app into 3 screen, but just want to report this big to kodular. As there is no fault from my side.

grafik

1 Like

But if i split the app into 3 screen and the number of assets remain same 478 , the app is building without any errors. Why ?

Interesting, try this test app:

Okay, let me test

Getting error, while uploading the aia file given by you.
Capture

I tried it more then 10 times.

  1. Export your aia, rename it and try to import this aia. (It shouldn’t work.)
  2. Remove 179 files from the assets and try to import this aia.
  3. If that works, build the APK / AAB.
  4. Add the removed / missing assets again following my guide.

Okay will Try that, thanks

nope getting the same error even after i remove more then 200 assets

Ok, to make sure it’s not because of the number of assets, remove almost all assets and try again. If that doesn’t work either, we can continue looking for the cause …

Okay i will try that too but, in my opinion it’s bcoz of too many blocks. Bcoz as I told u earlier i split my app into 3 screens and now it’s working fine with 470 assets.

Not a bug but a server limitation.

1 Like

Server limitation for what ? Any components, any blocks, procedure blocks or assets ?

Unfortunately there is no fixed number for this, but if it doesn’t build then you have found one

2 Likes

But that will be a blunder right if there is no fix number and we can’t check every hour that our app is building or not if we are building a large app, right ? All the hardwork will get wasted.

Second thing when kodular fixed the size of app 30mb beyond that we can’t make it, why not kodular fix the numbers of components on each screen. That means if there is no fix number of components per screen then this might called an Bug in the kodular builder right.