Error while exporting

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.185 seconds
________Compiling source files
(compiling io/kodular/kunhianarantk/CHATME_img_send/main.yail to io.kodular.kunhianarantk.CHATME_img_send.main)
ERROR: io/kodular/kunhianarantk/CHATME_img_send/main.yail line 161: duplicate declaration of ‘stop_rec_btn$Click’
ERROR: io/kodular/kunhianarantk/CHATME_img_send/main.yail line 161: (this is the previous declaration of ‘stop_rec_btn$Click’)
Kawa compile time: 53.419 seconds
.

ERROR: io/kodular/kunhianarantk/CHATME_img_send/main.yail line 161: duplicate declaration of ‘stop_rec_btn$Click’

That sounds like a button has two listeners. Check for errors (the red X) in your project. At the bottom left you can see how many you have and jump straight to them!
image

Let me know if that helps!

3 Likes

thanks a lot

1 Like

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