Unable to compile apk. It populates error!

Unable to compile apk. It populates error !
While I am compiling app on my dashboard it populates following 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 xml in res/drawable/…
________Creating splash png in res/drawable/…
________Creating colors xml
________Creating strings xml
________Creating styles xml
________Creating styles xml v21
________Creating drawables xml v21
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 0.82 seconds
________Compiling source files
(compiling io/kodular/bijayapaudelonline/QR_Code_Scanner/Screen2.yail to io.kodular.bijayapaudelonline.QR_Code_Scanner.Screen2)
(compiling io/kodular/bijayapaudelonline/QR_Code_Scanner/Screen1.yail to io.kodular.bijayapaudelonline.QR_Code_Scanner.Screen1)
(compiling /tmp/runtime8044719941569839635.scm to com.google.youngandroid.runtime)
Kawa compile time: 1.541 seconds
________Invoking DX
DX time: 10.775 seconds
________Invoking ApkBuilder
com.android.sdklib.build.ApkCreationException: Failed to add /tmp/1547220603598_0.20136599488929852-0/youngandroidproject/…/build/tmp/classes2.dex
YAIL compiler - ApkBuilder failed.

What may be the error ?

did you change your package name?

1 Like

I had a similar problem once
See if it is the same case

Nope but after removing one extension (QR_Code_Scanner), problem was solved. But I need that extension for my project :frowning: :frowning:

There’s already a similar component, Barcode Scanner, in Kodular. Don’t get confused with it’s name, it also scans QR codes. :wink:

1 Like

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