Compiling apk failed, message is: YAIL compiler - ApkBuilder failed

I checked out Bugs in Kodular Eagle before creating a new topic

Kodular is unable to compile this project.
The compiler error output was
________Checking dangerous extensions
________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 strings xml
________Creating styles xml
________Creating drawables xml v21
________Checking for firebase
________Creating provider_path xml
________Creating network_security_config xml
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 0.752 seconds
________Compiling source files
(compiling io/kodular/marcelsamson14/trixapp/chat.yail to io.kodular.marcelsamson14.trixapp.chat)
(compiling io/kodular/marcelsamson14/trixapp/create.yail to io.kodular.marcelsamson14.trixapp.create)
(compiling io/kodular/marcelsamson14/trixapp/apercu.yail to io.kodular.marcelsamson14.trixapp.apercu)
(compiling io/kodular/marcelsamson14/trixapp/acceuil.yail to io.kodular.marcelsamson14.trixapp.acceuil)
(compiling io/kodular/marcelsamson14/trixapp/panel.yail to io.kodular.marcelsamson14.trixapp.panel)
(compiling io/kodular/marcelsamson14/trixapp/login.yail to io.kodular.marcelsamson14.trixapp.login)
(compiling io/kodular/marcelsamson14/trixapp/Screen1.yail to io.kodular.marcelsamson14.trixapp.Screen1)
(compiling io/kodular/marcelsamson14/trixapp/Import78BBB7.yail to io.kodular.marcelsamson14.trixapp.Import78BBB7)
(compiling io/kodular/marcelsamson14/trixapp/paiement.yail to io.kodular.marcelsamson14.trixapp.paiement)
(compiling /tmp/runtime8812207493267934057.scm to com.google.youngandroid.runtime)
Kawa compile time: 3.113 seconds
________Invoking DX
DX time: 12.252 seconds
________Invoking ApkBuilder
com.android.sdklib.build.ApkCreationException: Failed to add /tmp/1575683976516_0.7528572212924076-0/youngandroidproject/…/build/tmp/classes3.dex
YAIL compiler - ApkBuilder failed.

https://community.kodular.io/t/how-to-ask-a-question/7942/10

You have to give more info and did you search the forum?

https://community.kodular.io/search?q=apkbuilder%20failed

1 Like

This can be due to dangerous extensions