Getting error when i add ads comment in my app

My app is approved on kodular for ads -

so when i try to add any ad components, and export as APK, it show error in the middle -

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.127 seconds
________Compiling source files
(compiling io/kodular/yashagarwaljaipur/Virtual_Musical_Instruments/Screen1.yail to io.kodular.yashagarwaljaipur.Virtual_Musical_Instruments.Screen1)
(compiling /tmp/runtime710319343427158127.scm to com.google.youngandroid.runtime)
Kawa compile time: 3.102 seconds
________Invoking DX
YAIL compiler - DX execution failed.
.

Note - My app is single screen based with 3000 blocks.

1 Like

There is no problem with blocks @Yash_Agarwal are you sure that your app shows error due to ads ?

yes, because without adding the ads component in the screen the app is working absolutely fine without any error. but when i add the add even a single ad component on the screen and try to build the apk it shows me error @Aditya_Nanda

1 Like

even i tried to export the aia file then deleted all assets because its a 16 MB app then again uploaded back in the builder with new name and added the ads component but still showing error.

16 mb ? really i am sure you can’t share aia but if you can then share in PM and one more thing have you tested it in companion ?

Okay will share it with you, i trust you and its already been published on google play store. And nope i don’t use companion mode it sucks

1 Like