Error in compiling

What is this…I have checked everything including all blocks but there is nothing wrong…

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: 3.55 seconds
________Compiling source files
(compiling io/kodular/in_mamta_devi/WiseCrack/ERROR.yail to io.kodular.in_mamta_devi.WiseCrack.ERROR)
(compiling io/kodular/in_mamta_devi/WiseCrack/PASSWORD.yail to io.kodular.in_mamta_devi.WiseCrack.PASSWORD)
(compiling io/kodular/in_mamta_devi/WiseCrack/NAME.yail to io.kodular.in_mamta_devi.WiseCrack.NAME)

ERROR: io/kodular/in_mamta_devi/WiseCrack/NAME.yail line 297: duplicate declaration of ‘NAME’

ERROR: io/kodular/in_mamta_devi/WiseCrack/NAME.yail line 5: (this is the previous declaration of ‘NAME’)

Kawa compile time: 194.219 seconds

Your project might have two screens with same name.

no and how is that possible

please see your blocks, the blocks named “NAME” was used multiple times. In the blocks mode check up it is error free. If not you will get such error

It’s seem you have 2 Variable and or Procedure that have same “NAME


Events, the yellow ones!

This usually happens when you duplicate/copy screen and naming it with the same name as component name that you already have…

Just rename that component to something else…

P.S. You wont see any error either…


Thanks for explanation , It’s new information for me … and i will remember in case i have same problem.

1 Like

I was near :face_with_hand_over_mouth:

1 Like

Thanks @Boban , You were absolutely correct…my problem has been resolved…thanks again

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