Unable to export APK file
It showing error build failed error:
Your build failed due to error in compile stage not in your project
Can you post your AIA file?
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: 1.038 seconds
________Compiling source files
Deleted the extension but showing same error
I cannot also export the aia to apk. The log error is:
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 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.713 seconds
________Compiling source files
(compiling io/kodular/debdas_barury78/coronainfo/Main.yail to io.kodular.debdas_barury78.coronainfo.Main)
ERROR: io/kodular/debdas_barury78/coronainfo/Main.yail line 55: duplicate declaration of ‘Main’
ERROR: io/kodular/debdas_barury78/coronainfo/Main.yail line 5: (this is the previous declaration of ‘Main’)
ERROR: io/kodular/debdas_barury78/coronainfo/Main.yail line 62: duplicate declaration of ‘Main$Initialize’
ERROR: io/kodular/debdas_barury78/coronainfo/Main.yail line 62: (this is the previous declaration of ‘Main$Initialize’)
Kawa compile time: 1.168 seconds
.
I am working for a week for this project, i really need help
I will private message if anyone needs the aia.
I need help from the experienced
You are using more than one screen initialize blocks(duplicates). Check your blocks for red cross marks on initialize blocks indicating error
@rizu sent me the aia personally and the issue was resolved.
User had same names for screen and component(arrangement) which caused the issue.
Thanks
Yes it was fixed