Your build failed due to an error in the Apkbuilder stage. Problem

I can’t build apk. This error is showing. I have checked all discuss & posts in Community but I can’t find any problem. I have extracted and viewed my project also. But there is no extra folder. Please help.

Sorry I can’t share aia because it’s my very personal project.

show us your error pls… click on view log and share

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: 2.634 seconds
________Compiling source files
(compiling io/kodular/xxxxxxxx8855/FLPTournament/AddMoney.yail to io.kodular.xxxxxxxx8855.FLPTournament.AddMoney)
(compiling io/kodular/xxxxxxxx8855/FLPTournament/Extra.yail to io.kodular.xxxxxxxx8855.FLPTournament.Extra)
(compiling io/kodular/xxxxxxxx8855/FLPTournament/FF.yail to io.kodular.xxxxxxxx8855.FLPTournament.FF)
(compiling io/kodular/xxxxxxxx8855/FLPTournament/Wallet.yail to io.kodular.xxxxxxxx8855.FLPTournament.Wallet)
(compiling io/kodular/xxxxxxxx8855/FLPTournament/Screen1.yail to io.kodular.xxxxxxxx8855.FLPTournament.Screen1)
(compiling /tmp/runtime4503961725148411395.scm to com.google.youngandroid.runtime)
Kawa compile time: 5.952 seconds
________Invoking DX
DX time: 20.047 seconds
________Invoking ApkBuilder
com.android.sdklib.build.ApkCreationException: Failed to add /tmp/1656007043573_0.1368769877594842-0/youngandroidproject/…/build/tmp/classes3.dex
YAIL compiler - ApkBuilder failed.

one of the extension used in the project may not be updated one. make sure you are using latest version of all extension and no 3rd party ad extension

epecially look into this screen also make sure you doesnot hve project within project

image

There is no project in my project but let me see if there is an extension which is not updated

No 3rd party ad extension. No extra project, extensions are latest versions.

Thanks. But this error is coming because of Countdown Timer Extension by sumit. But This extension is compulsory for me to use it in my project. Is there any way to solve?

Which extensions do you use in your project ?


List is too long

So how do you know that problem caused by Countdown Timer Extension by @Sumit1334 ?

When I am dragging the extension in my project in any screen app doesn’t build

Maybe the developer can help you in this case

My Countdown Timer uses the org.json library. You uses a lot of extensions it’s difficult to find which one also uses the same lib. JSON lib is not necessary in my extension but I lost the sources of my extension so I can not update it now. At this time I can offer two ways to solve it :-

  1. Check or ask the developers of other extensions.
  2. You may use an alternative for countdown timer extension.

Just a suggestion :- Most of the extension that you are using don’t need to be used as their stuff could be done with inbuilt blocks. So try to reduce the amount of extensions. They will cause the problems after.

1 Like

I will try

Is there any other extension for countdown timer?

I hope your “very personal project” isn’t an earning App. Because in your error log there are the words “ad money” and “wallet”. Also in your Extension List I see the filepicker from deephost that may make trouble.

You could search.

Seems an esport tournament app by project name to me.

No. It’s tournament app

You can try TinyTimer extension , no libraries used (if it is possible)