App Issue Export Project Error, duplicate declaration

I made blocks for external app opening and back button
But only two blocks work at at time
I made two blocls for WhatsaApp and Play Store opening on external app, and one block for back button.

And to export project, I’ve to delete one and go wtih two blocks. Not able to export all at one and gives error:

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
________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.906 seconds
________Compiling source files
(compiling io/kodular/chopralovish24/LeevanApp/Screen1.yail to io.kodular.chopralovish24.LeevanApp.Screen1)
(compiling io/kodular/chopralovish24/LeevanApp/HOME.yail to io.kodular.chopralovish24.LeevanApp.HOME)

ERROR: io/kodular/chopralovish24/LeevanApp/HOME.yail line 34: duplicate declaration of ‘Web_Viewer1$PageLoaded’

ERROR: io/kodular/chopralovish24/LeevanApp/HOME.yail line 34: (this is the previous declaration of ‘Web_Viewer1$PageLoaded’)

Kawa compile time: 1.438 seconds

Hey @Lovish_Chopra welcome to community.
Do a search before posting. Your query has been discussed many time in this community.
https://community.kodular.io/search?context=topic&context_id=218529&q=Invoke%20aapt&skip_context=true

Read the error which says clearly that you have used two times the event block, web page loaded

Remove one item… always check there shouldn’t be any count in red mark

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