Duplicate declaration of Side_Menu_Layout1.OnMenuItemClick

Kodular is unable to compile this project.
The compiler error output was
________Checking dangerous extensions
________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.675 seconds
________Compiling source files
(compiling io/kodular/ap4856245862/UPSC/Screen2.yail to io.kodular.ap4856245862.UPSC.Screen2)

ERROR: io/kodular/ap4856245862/UPSC/Screen2.yail line 224: duplicate declaration of ‘Side_Menu_Layout1$OnMenuItemClick’

ERROR: io/kodular/ap4856245862/UPSC/Screen2.yail line 224: (this is the previous declaration of ‘Side_Menu_Layout1$OnMenuItemClick’)

ERROR: io/kodular/ap4856245862/UPSC/Screen2.yail line 226: duplicate declaration of ‘Side_Menu_Layout1$OnMenuItemClick’

ERROR: io/kodular/ap4856245862/UPSC/Screen2.yail line 226: (this is the previous declaration of ‘Side_Menu_Layout1$OnMenuItemClick’)

ERROR: io/kodular/ap4856245862/UPSC/Screen2.yail line 228: duplicate declaration of ‘Side_Menu_Layout1$OnMenuItemClick’

ERROR: io/kodular/ap4856245862/UPSC/Screen2.yail line 228: (this is the previous declaration of ‘Side_Menu_Layout1$OnMenuItemClick’)

ERROR: io/kodular/ap4856245862/UPSC/Screen2.yail line 230: duplicate declaration of ‘Side_Menu_Layout1$OnMenuItemClick’

ERROR: io/kodular/ap4856245862/UPSC/Screen2.yail line 230: (this is the previous declaration of ‘Side_Menu_Layout1$OnMenuItemClick’)

ERROR: io/kodular/ap4856245862/UPSC/Screen2.yail line 232: duplicate declaration of ‘Side_Menu_Layout1$OnMenuItemClick’

ERROR: io/kodular/ap4856245862/UPSC/Screen2.yail line 232: (this is the previous declaration of ‘Side_Menu_Layout1$OnMenuItemClick’)

ERROR: io/kodular/ap4856245862/UPSC/Screen2.yail line 234: duplicate declaration of ‘Side_Menu_Layout1$OnMenuItemClick’

ERROR: io/kodular/ap4856245862/UPSC/Screen2.yail line 234: (this is the previous declaration of ‘Side_Menu_Layout1$OnMenuItemClick’)

Kawa compile time: 0.99 seconds

duplicate declaration of ‘Side_Menu_Layout

2 Likes

Now I am getting this error -
The arguments , [Home], [true], [true], [1] are the wrong number of arguments for AddItem
Note: You will not see another error reported for 5 seconds.

You must have an empty slot

1 Like

Show your blocks first

Can u place ""when side menu click “” events two times

I have left image blank. It it compulsory to add image?

Yes , just add an empty text

image

1 Like

Thank you so much

1 Like

That is not related with this thread… please search the forms and google if you didn’t find your solution then start a new topic for your new question…

1 Like