Getting a Error

Dear Team,

Please Resolve the issue getting error code

You have two button2 click events.

2 Likes

Welcome @Agam_Jha!

ERROR: appinventor/ai_agamjhapodar/Pedometer_APP/Screen1.yail line 46: duplicate declaration of 'Button2$Click'
ERROR: appinventor/ai_agamjhapodar/Pedometer_APP/Screen1.yail line 46: (this is the previous declaration of 'Button2$Click)

Combine the when Button2. Click events together.

Thank You. Issue Resolved

Next time, before you export an app, remember to check the warnings tab at the left bottom corner of the Blocks Editor.

1 Like

Thank You Gordon

1 Like

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