Help Showing "Something went wrong" while exporting apk file

Please help me to solve this error. I even checked all my blocks but i am getting this 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 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.015 seconds
________Compiling source files
(compiling io/kodular/immanuelthomasj10/QR_Scanner_and_Generator1/Main_Screen.yail to io.kodular.immanuelthomasj10.QR_Scanner_and_Generator1.Main_Screen)
(compiling io/kodular/immanuelthomasj10/QR_Scanner_and_Generator1/Screen1.yail to io.kodular.immanuelthomasj10.QR_Scanner_and_Generator1.Screen1)
(compiling /tmp/runtime6814096064638339911.scm to com.google.youngandroid.runtime)
Kawa compile time: 2.171 seconds
________Invoking DX
DX time: 4.438 seconds
________Invoking ApkBuilder
com.android.sdklib.build.ApkCreationException: Failed to add /tmp/1622955871023_0.0708215530987415-0/youngandroidproject/…/build/tmp/classes3.dex
YAIL compiler - ApkBuilder failed.
.

Blocks

As far as i understood you are trying to create QR scanner and generator app…
First as a solution my advice is to change your app package name from

io.kodular.immanuelthomasj10.QR_Scanner_and_Generator1

to

io.kodular.immanuelthomasj10.QRScannerAndGenerator

Secondly are u using any extension for the app?

Show your blocks also

@Akshat_Rana

Yes i am using three extensions
1.Taifun Clipboard
2.Scan view extension by Silver
3.QR Generator by Deep Host

May be due this. Kodular never support deep host extension. Find alternative

:joy:
It doesn’t affect your apk build.
Discussion about his extension is just not allowed.

I came to see in some topics experts says like that so I conveyed the same here.

Which version of the extension do you use ?

I had already created a QR Scanner and Generator app with silvers extension and taifun clipboard extension. It did not cause any problem and apk worked well. I thought to make my QR Generator offline so i added deep host QR generator, i think deep hosts qr generator extension may be the problem .

Most probably both use the same zxing library that causes the error, try using ScanView v2.1 without zxing library

1 Like

I used this silver extension only

I removed Deep Host extension. Now that error is not coming. Thank You

I used ScanView v.2.1 without zxing library along with two others extensions in a test app and apk compiled with no problem. I still believe you are using the wrong version of the extension cause there is a v.2.1 with zxing library and one without

1 Like

I am Using these extensions and now its working properly
Am i using the correct silver extension?

I used ScanView v2.1 without zxing library

image

1 Like

Now the problem solved.
Thank You @dora_paz
I used the upgraded extension.

1 Like

I got this 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 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: 0.861 seconds
________Compiling source files

Help me!
.

You can create a new topic and ask .

2 Likes

Please search in community. Already solved this issue couple of times

1 Like

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