Hi Koders.
I’m having problems compiling my app, with the Yail compiler. After reading the community I saw the unchieve page, so I upload my aia there and what is my surprise when I see it has two screen1!!!
But in the creator page there is only one screen1 and for sure it is impossible to have two screens with the same name.
I have imported some other screens and erase them later, so maybe something got wrong there.
Is there any solution to this? It is quite possible that this is what is generating the compile error, because I can’t find another explanation.
Thanks in advance!
Hi.
No, in creator only was shown one screen, because both have the same name.
I downloaded the file and see something wrong in the assets folder (there was another asset folder inside) so I deleted it and other folder named scr that was inside the asset folder too.
After that, this is what is shown in Unchive:
Second duplicate declaration of 'CerrarSesion_Label$Click’
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
________________Firebase components found.
________________Firebase config file successfully added.
________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.97 seconds
________Compiling source files
(compiling io/kodular/bobans_s73/YogaSessions09_copy/Screen1.yail to io.kodular.bobans_s73.YogaSessions09_copy.Screen1)ERROR: io/kodular/bobans_s73/YogaSessions09_copy/Screen1.yail line 6995: duplicate declaration of 'CerrarSesion_Label$Click’ERROR: io/kodular/bobans_s73/YogaSessions09_copy/Screen1.yail line 6995: (this is the previous declaration of ‘CerrarSesion_Label$Click’)Kawa compile time: 2.282 seconds
.
Thanks.
I have deleted another one and worked too. The problem is that, at this point, I can’t delete an entire main arrangement.
It it would be useful to have clear rules about how many arrangements can a project have, how they can or can’t be one inside the other, etc so looking for the mistake can be more than stumble around in the dark.
I’ll keep trying.
Thanks again.