I have a problem in exporting my project to both APK and AAB format and from what i saw in the community and since no one is reporting such errors now, i think it’s because the big number of extensions in my project (almost 50 ) and i can’t remove them because i need most of them. Does anyone have a solution for this? If not, can the staff tell us if this problem is going to be fixed in the next update or not? I really need a solution as fast as possible because my app must be posted on July the 19th so please help me.
BTW, when the app is published on Play Store, i’ll post it in Koded Apps category, you’re gonna LOVE it
I hope someone gives me a solution, thank you in advance!
Error log with APK export
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.611 seconds
________Compiling source files
(compiling io/kodular/ myusername / projectname / screen .yail to io.kodular. myusername . projectname .Call)
(compiling io/kodular/ myusername / projectname / screen .yail to io.kodular. myusername . projectname . screen )
(compiling io/kodular/ myusername / projectname / screen .yail to io.kodular. myusername . projectname . screen )
(compiling io/kodular/ myusername / projectname / screen .yail to io.kodular. myusername . projectname . screen )
(compiling io/kodular/ myusername / projectname / screen .yail to io.kodular. myusername . projectname . screen )
(compiling io/kodular/ myusername / projectname / screen .yail to io.kodular. myusername . projectname . screen )
(compiling io/kodular/ myusername / projectname / screen .yail to io.kodular. myusername . projectname . screen )
(compiling io/kodular/ myusername / projectname / screen .yail to io.kodular. myusername . projectname . screen )
(compiling io/kodular/ myusername / projectname /Screen1.yail to io.kodular. myusername . projectname .Screen1)
(compiling /tmp/runtime1055122994665011297.scm to com.google.youngandroid.runtime)
Kawa compile time: 4.426 seconds
________Invoking DX
DX time: 12.345 seconds
________Invoking ApkBuilder
com.android.sdklib.build.ApkCreationException: Failed to add /tmp/1626044211009_0.07992778300144532-0/youngandroidproject/…/build/tmp/classes3.dex
YAIL compiler - ApkBuilder failed.
.
Gesture
ImageViewer
TaifunTools
KIO4_GetTinyDB
HorizontalScrollHandler
VerticalScrollHandler
DownloadToASD
ZScreenShot
KevinkunEnhance
RelativeView
TaifunFile
MaterialUI
KIO4_Base64
RepositionningTools
GetLocationInfo
ComponentTools
FloatingView
ColorPicker
KIO4_Keyboard
ReCaptcha
KIO4_VUmeter
MySQL_Database
NotificationStyle
Overlay_Layout
CustomWebView
ScreenRecorder
AlphaDialog
CropView
DynamicComponents
Phase
Custom_Download
Filey
HalfMenu
FlipShare
listPermission
AsymmetricCryptography
PedrozaThumbnail
TaifunImage
eFemail
Plyr
KevinkunAgoraRTC
KIO4_Gradient
FancyGallery
ComponentToImage
DateTools
VideoPlayer
BTW, i use some of your extensions (AsymmetricCryptography, CustomWebView, DateTools, Filey and ScreenRecorder) and they’re really amazing you helped me a lot! Thank you for your wonderful contribution to the community and i hope you can help me
Now do one more thing.
Create a new project and import and drag all those extensions in designer.
After that try to compile.
If fails then remove one extension randomly and then try again.
Repeat the procedure again and again.
At the end you will get a pair of extension which can be incompatible with each other.
However, 6mb is (possibly) limit of extension’s size, in App Inventor.
Is there any other way to do this? With an extensions checker or something? Because it will take a lot of time to do this with 46 extensions (more than 200 possibilities)
You could set up your own instance of App Inventor and go through the build logs to check which classes are being added multiple times. Or you could send your AIA to someone who would be willing to do this for you.
Unfortunately, my AIA contains paid extensions and also i worked very hard on the project and i can’t take the risk of sending it to someone else.
How can i do this? Help me please
And since you’re a staff member, can this error be fixed in the next update? Or at least let Kodular detect which extensions are not compatible with each other and let the user know, i’m sure it won’t be hard for such an amazing team that made this wonderful platform. Please can you help us and do this?
This must’ve been a lot easier if the staff helped us with adding a feature that tells the user if there are uncompatible extensions and i’m sure it won’t take from them more than 2 or 3 days they made such a powerful platform and i don’t think that doing this is hard for them, please help us
The whole thinking and imagination of the app and the creativity in making its UI/UX and the whole coding and thinking again about solutions for problems that happen often in my codes and improving ideas of your app and paying to donate Kodular and search for extensions to do more things than Kodular components do and searching for solutions for some of their bugged components such as In-App Billing and FTP and paying money to make my app just like i want then to make it succeed and caring for it and making updates and searching for bugs and crushes and helping other people in the community… It’s ok if the staff listens to some of our requests and try to add them especially those related to a bug in their builder.