Unable to export application

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Kodular Compilation Error</title>
        body {
            font-family: Arial, sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
        .error-container {
            background-color: #ffffff;
            border-radius: 10px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            padding: 20px;
            text-align: center;
        h1 {
            color: #e74c3c;
        p {
            color: #333333;
            margin-top: 10px;
        code {
            display: block;
            background-color: #f9f9f9;
            padding: 10px;
            border-radius: 5px;
            overflow-x: auto;
    <div class="error-container">
        <h1>Kodular Compilation Error</h1>
        <p>The compiler error output was:</p>
            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: 1.18 seconds
            Compiling source files
            (compiling io/kodular/gadtanbp/ChordGaster/Home.yail to io.kodular.gadtanbp.ChordGaster.Home)
            (compiling io/kodular/gadtanbp/ChordGaster/Screen1.yail to io.kodular.gadtanbp.ChordGaster.Screen1)
            ERROR: io/kodular/gadtanbp/ChordGaster/Screen1.yail line 27: duplicate declaration of 'Screen1$Initialize'
            ERROR: io/kodular/gadtanbp/ChordGaster/Screen1.yail line 27: (this is the previous declaration of 'Screen1$Initialize')
            Kawa compile time: 2.26 seconds

It is all in the message. You have duplicate blocks. Remove one of them.

Please next time share an image not the html of the page. :wink:

1 Like