Error in building apk

Niotron is unable to compile this project.
The compiler error output was
________Preparing application icon
________Moving Image Splash
________Creating animation xml
________Creating style xml
________Creating provider_path xml
________Creating network_security_config xml
________Attaching Mediation Libraries
________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.485 seconds
________Compiling source files
(compiling com/niotron/zahoorrehman10/World_Flags_quiz/Screen1.yail to com.niotron.zahoorrehman10.World_Flags_quiz.Screen1)
(compiling com/niotron/zahoorrehman10/World_Flags_quiz/quizstart.yail to com.niotron.zahoorrehman10.World_Flags_quiz.quizstart)
(compiling com/niotron/zahoorrehman10/World_Flags_quiz/Nointernet.yail to com.niotron.zahoorrehman10.World_Flags_quiz.Nointernet)
(compiling /tmp/runtime3497179626075599837.scm to
Kawa compile time: 19.984 seconds
________Invoking DX
Merge time: 6.372000 seconds
DX time: 1.887000 seconds
YAIL compiler - DX execution failed.

please help to solve the issue.
i read the previous posted comments.
i am not using any extension or mediation components.

You have to upload the AIA file here so someone can help you. We cannot “read your mind” or see what’s on your screen, so please give us relevant information. :slight_smile:

Probably this is due to the abuse of components. Don’t use too much components on one screen.

Do a search in the community for DX execution failed, usually you have too much of something…


Flags_Quiz.aia (862.4 KB)
its aia file can any body assist

Flags_Quiz.aia (862.4 KB)

This is why, you have too much of everything…

1 Like

Thanks sir

Can i distribute the assets in more screens.
Currently i have 3 screens. How many is recommended.
Total i have 176 assets if i can distribute 50 to each screen so will total 5 screen.
Kindly assist me how many screens recommended and assests.
Or for more assets i have to purchase a plan of 25 MB.
Kindly assist me how more components issue will resolve.

I don’t think, the issue is the number of assets assuming these are very small images…
did you follow tip 2 here?

your issue is not following the DRY principle… DRY - Don’t repeat yourself

for example you can have only one image component together with a button “Next” to display all of your 176 images, no need to use 176 image components… and on button click, your image will be replaced with the next image etc.

same for the spacers, buttons, labels, etc.


1 Like

Thanks Taifun,

I didn’t follow the step 2 .

Let me try it.

I you have any turorial video regards the DRY please share it with me?

Thanks once again

A little example By Taifun himself A Multiple Choice Quiz: How to work with the advanced features

You can build further on this quiz.aia (26.6 KB)

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.