I Was Creating An App When I Have Been Completed It, I Am Trying To Export As APK I Am Facing This Problem Below Please Help Me To Solve It, I Have Work Hard to Make It.
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 strings xml
________Creating styles xml
________Creating drawables xml v21
________Checking for firebase
________Creating provider_path xml
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 1.777 seconds
________Compiling source files
(compiling io/kodular/baalveer78692/SR_Brouser_New/tt.yail to io.kodular.baalveer78692.SR_Brouser_New.tt)
(compiling io/kodular/baalveer78692/SR_Brouser_New/wp.yail to io.kodular.baalveer78692.SR_Brouser_New.wp)
(compiling io/kodular/baalveer78692/SR_Brouser_New/y.yail to io.kodular.baalveer78692.SR_Brouser_New.y)
(compiling io/kodular/baalveer78692/SR_Brouser_New/Screen1.yail to io.kodular.baalveer78692.SR_Brouser_New.Screen1)
(compiling io/kodular/baalveer78692/SR_Brouser_New/h.yail to io.kodular.baalveer78692.SR_Brouser_New.h)
(compiling io/kodular/baalveer78692/SR_Brouser_New/t.yail to io.kodular.baalveer78692.SR_Brouser_New.t)
(compiling /tmp/runtime8098281118768026686.scm to com.google.youngandroid.runtime)
Kawa compile time: 2.075 seconds
________Invoking DX
DX time: 10.455 seconds
________Invoking ApkBuilder
com.android.sdklib.build.ApkCreationException: Failed to add /tmp/1561480788744_0.2047073077107926-0/youngandroidproject/…/build/tmp/classes3.dex
YAIL compiler - ApkBuilder failed.
.
Yes Sir May Post Are With Same Topic But Not Same Problem , Sir Please Help Me To Solve It , I’s Was My Hard Work And I don’t Want To West It Or Restart It, Because I Have Spend Many Month To Complete It, It’s Work better With Kodular Companion But Not Extracting As APK
First search then ask if you did not do that. I can build fine so for me it is working. You have something in your code, extensions or assets that is not right. Experiment and then come back.
Wow you must be really fast if you can check everything in 5 minutes. All combinations. Delete extensions and check if it can build. Check for big assets, size of the icon, etc etc etc.
I Made A Copy The Project And Removed All Extension One By One And Trying To Export But It’s Exported When I Removed All Extensions , But The Pillar Of My Application Is Extensions
I think, using these extensions is useless since Kodular already has these features:
Dialogs by Helios (aka Vishwas Adiga)
This extension is added to Kodular Creator as a component since Vishwas is already in Kodular staff.
RootChecker (I think you are using Pavitra’s one)
This extension is added to Kodular Creator as a component since Pavitra is already in Kodular staff.
ExtraComponents by Helios (aka Vishwas Adiga)
This toggle component is already part of Kodular Creator since Vishwas is already in Kodular staff.
Also, Taifun said that to Vishwas about his extensions 2 years ago:
however there are the extensions from Helios aka @vishwasadiga, i.e. the Dialogs extension and the Extra Components Extension, which work separately, but not both together in a project …
Because it was causing a DX execution error when you used his extensions more than one in one project. Also, Vishwas was busy in developing Kodular (it was Makeroid in that time) so he didn’t find time to rebuild extensions.
Also Vishwas made these extensions for other App Inventor distributions, not for Kodular. Because he already added these extensions as component to Kodular.
In short, I think using Vishwas’s extensions are causing this compiler error, remove these extensions, and replace them with Kodular’s built-in components.
Thank You So Much Sir , Yes Extra Component Is A Problem , After Removing It, APK Start To Export
Sir But I Want When Someone Write Something In The Text Box And Press Enter From Keyboard Do Something (Ex. Search Data Or Go Next) , How Can I Use This Future With Another Way