i need help.i make my app home screen in 1st screen.that’s why i copy my first screen & create another.but now that was showing eror.when it was on first screen i can build apk.but now when i go to build my apk after copy my 1st screen it’s doesn’t build.showing that eror
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 strings xml
________Creating styles xml
________Creating drawables xml v21
________Checking for firebase
________Creating provider_path xml
________Creating network_security_config xml
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 0.8 seconds
________Compiling source files
(compiling io/kodular/msr79526/Custom_ListView_Demo/view.yail to io.kodular.msr79526.Custom_ListView_Demo.view)
(compiling io/kodular/msr79526/Custom_ListView_Demo/Screen1.yail to io.kodular.msr79526.Custom_ListView_Demo.Screen1)
(compiling io/kodular/msr79526/Custom_ListView_Demo/Screen2.yail to io.kodular.msr79526.Custom_ListView_Demo.Screen2)
ERROR: io/kodular/msr79526/Custom_ListView_Demo/Screen2.yail line 138: duplicate declaration of ‘Screen2’
ERROR: io/kodular/msr79526/Custom_ListView_Demo/Screen2.yail line 5: (this is the previous declaration of ‘Screen2’)
ERROR: io/kodular/msr79526/Custom_ListView_Demo/Screen2.yail line 147: duplicate declaration of ‘Screen2$Initialize’
ERROR: io/kodular/msr79526/Custom_ListView_Demo/Screen2.yail line 147: (this is the previous declaration of ‘Screen2$Initialize’)
Kawa compile time: 1.673 seconds