Kodular is unable to compile this project

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.883 seconds
________Compiling source files
(compiling io/kodular/raushanpathak911/Prosperous/NOTIFICATION.yail to io.kodular.raushanpathak911.Prosperous.NOTIFICATION)
(compiling io/kodular/raushanpathak911/Prosperous/Video.yail to io.kodular.raushanpathak911.Prosperous.Video)
(compiling io/kodular/raushanpathak911/Prosperous/Reset_password.yail to io.kodular.raushanpathak911.Prosperous.Reset_password)

ERROR: io/kodular/raushanpathak911/Prosperous/Reset_password.yail line 127: duplicate declaration of ‘Reset_password’

ERROR: io/kodular/raushanpathak911/Prosperous/Reset_password.yail line 5: (this is the previous declaration of ‘Reset_password’)

ERROR: io/kodular/raushanpathak911/Prosperous/Reset_password.yail line 134: duplicate declaration of ‘Reset_password$Click’

ERROR: io/kodular/raushanpathak911/Prosperous/Reset_password.yail line 134: (this is the previous declaration of ‘Reset_password$Click’)

Kawa compile time: 1.671 seconds
.

Show blocks image

Show all blocks.

its all blocks. i have created this block only for reset password.

The error says that there is a duplicate declaration of when button Reset_password.click

but how , i am not understanding. What"s the error.

Maybe project got corrupted ? Do you wish to post your aia ?

If this is a screen name, I recommend removing the underscore and trying to compile again. I’m not 100% sure if Java can handle underscores in class names.

1 Like

ok. i will try.

I have talked to this user privately and they’ve solved their problem by creating a new screen, I’m not sure about the name, and, I’m assuming, using the same blocks.

@Kodular, this topic can be closed.

1 Like

I marked @hammerhai 's post as solution cause seems it was a screen’s name issue

1 Like