Not able to export apk


stucked at 73-75% for more than a hour

Hi MahtabNihar,

That’s strange, have you tried exporting an empty project? Or exporting the .aia and re-importing it?

i also cant export to apk since last night untill now.

I’ll be taking a look into this in a few hours. Can you please let me know all the affected Project IDs?

EDIT: I can replicate the issue, will try to investigate and provide a fix within the next few hours. The issue seems like build failures are not being reported correctly.

2 Likes

Please look into this matter as soon as possible. If you require the project ID or any other details, kindly let me know, and I will provide the necessary information.

The build itself is failing, we won’t be able to change that. What I will try is to make sure it’s reported accordingly.

This issue should now be fixed @MahtabNihar @Nyamuk_Clone, you should now be able to see the build error reason.

Kodular is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task succeeded in 0.002 seconds
[LoadComponentInfo] Starting Task
[LoadComponentInfo] INFO: Generating assets...
[LoadComponentInfo] Component assets needed, n = 7
[LoadComponentInfo] INFO: Generating activities...
[LoadComponentInfo] Component activities needed, n = 1
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify activityMetadata
[LoadComponentInfo] Component activity metadata needed, n = 0
[LoadComponentInfo] INFO: Generating broadcast receivers...
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify broadcastReceivers
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify contentProviders
[LoadComponentInfo] INFO: Generating libraries...
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify libraries
[LoadComponentInfo] Libraries needed, n = 30
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify metadata
[LoadComponentInfo] Component metadata needed, n = 0
[LoadComponentInfo] INFO: Generating Android minimum SDK...
[LoadComponentInfo] INFO: Generating native libraries...
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify native
[LoadComponentInfo] Native Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating permissions...
[LoadComponentInfo] usesLocation = False
[LoadComponentInfo] Permissions needed, n = 35
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify queries
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify services
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify xmls
[LoadComponentInfo] Component xmls needed, n = 0
[LoadComponentInfo] INFO: Generating component broadcast receivers...
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify broadcastReceiver
[LoadComponentInfo] Task succeeded in 0.006 seconds
[VerifyExtensions] Starting Task
[VerifyExtensions] Task succeeded in 0.083 seconds
[GenerateBuildId] Starting Task
[GenerateBuildId] INFO: Skipping Build ID generation for App with no required components.
[GenerateBuildId] Task succeeded in 0.001 seconds
[RetrieveGamAdUnit] Starting Task
[RetrieveGamAdUnit] INFO: Skipping Ad Unit ID retrieval for app with no required components.
[RetrieveGamAdUnit] Task succeeded in 0.001 seconds
[PrepareAppIcon] Starting Task
[PrepareAppIcon] INFO: Creating mipmap dirs...
[PrepareAppIcon] INFO: Generating icons...
[PrepareAppIcon] Generating icons for mipmap-mdpi
[PrepareAppIcon] Generating icons for mipmap-hdpi
[PrepareAppIcon] Generating icons for mipmap-xhdpi
[PrepareAppIcon] Generating icons for mipmap-xxhdpi
[PrepareAppIcon] Generating icons for mipmap-xxxhdpi
[PrepareAppIcon] Task succeeded in 0.322 seconds
[XmlConfig] Starting Task
[XmlConfig] INFO: Creating animation xml
[XmlConfig] Creating zoom_enter.xml
[XmlConfig] Creating fadeout.xml
[XmlConfig] Creating slide_v_exit.xml
[XmlConfig] Creating fadein.xml
[XmlConfig] Creating zoom_exit.xml
[XmlConfig] Creating slide_v_enter.xml
[XmlConfig] Creating zoom_exit_reverse.xml
[XmlConfig] Creating slide_v_enter_reverse.xml
[XmlConfig] Creating zoom_enter_reverse.xml
[XmlConfig] Creating slide_enter_reverse.xml
[XmlConfig] Creating slide_exit.xml
[XmlConfig] Creating hold.xml
[XmlConfig] Creating slide_enter.xml
[XmlConfig] Creating slide_v_exit_reverse.xml
[XmlConfig] Creating slide_exit_reverse.xml
[XmlConfig] INFO: Creating colors xml
[XmlConfig] INFO: Creating styles xml
[XmlConfig] INFO: Creating provider_path xml
[XmlConfig] INFO: Creating network_security_config xml
[XmlConfig] INFO: Generating adaptive icon file
[XmlConfig] INFO: Generating round adaptive icon file
[XmlConfig] INFO: Generating adaptive icon background file
[XmlConfig] INFO: Creating fragment xml
[XmlConfig] INFO: Creating listview xml
[XmlConfig] INFO: Creating listview-21 xml
[XmlConfig] INFO: Creating drawable xml
[XmlConfig] INFO: Creating drawable-21 xml
[XmlConfig] INFO: Creating strings xml
[XmlConfig] Task succeeded in 0.004 seconds
[CreateManifest] Starting Task
[CreateManifest] INFO: Reading project specs...
[CreateManifest] VCode: 1
[CreateManifest] VName: 1.0
[CreateManifest] Custom Package Name: com.sweez.lodutournament
[CreateManifest] Min SDK 21
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.Login'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.nogod'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.HTAM'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.Register'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.bkash'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.Home'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.Screen1'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.done'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.Matchdetails'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.ff'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.Wallet'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.Profile'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.rocket'
[CreateManifest] Task succeeded in 0.003 seconds
[AttachNativeLibs] Starting Task
[AttachNativeLibs] Task succeeded in 0.001 seconds
[AttachAarLibs] Starting Task
[AttachAarLibs] Task succeeded in 0.085 seconds
[AttachCompAssets] Starting Task
[AttachCompAssets] Task succeeded in 0.006 seconds
[MergeResources] Starting Task
[MergeResources] Task succeeded in 0.07 seconds
[SetupLibs] Starting Task
[SetupLibs] Task succeeded in 0.0 seconds
[RunAapt] Starting Task
[RunAapt] Task succeeded in 1.999 seconds
[GenerateClasses] Starting Task
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/Login.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/nogod.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/HTAM.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/Register.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/bkash.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/Home.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/Screen1.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/done.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/Matchdetails.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/ff.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/Wallet.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/Profile.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/rocket.yail
[GenerateClasses] ERROR: Kawa compile has failed.
(compiling io/kodular/business_mahtabnihar/lodutournament/Login.yail to io.kodular.business_mahtabnihar.lodutournament.Login)
(compiling io/kodular/business_mahtabnihar/lodutournament/nogod.yail to io.kodular.business_mahtabnihar.lodutournament.nogod)

ERROR: io/kodular/business_mahtabnihar/lodutournament/nogod.yail line 50: duplicate declaration of 'back'

[GenerateClasses] ERROR: Can't find class file for Screen 'nogod'
[GenerateClasses] Task errored in 0.889 seconds
.



This is the report. What’s the issue? and how to solve this?

Kodular is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task succeeded in 0.005 seconds
[LoadComponentInfo] Starting Task
[LoadComponentInfo] INFO: Generating assets...
[LoadComponentInfo] Component assets needed, n = 7
[LoadComponentInfo] INFO: Generating activities...
[LoadComponentInfo] Component activities needed, n = 1
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify activityMetadata
[LoadComponentInfo] Component activity metadata needed, n = 0
[LoadComponentInfo] INFO: Generating broadcast receivers...
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify broadcastReceivers
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify contentProviders
[LoadComponentInfo] INFO: Generating libraries...
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify libraries
[LoadComponentInfo] Libraries needed, n = 30
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify metadata
[LoadComponentInfo] Component metadata needed, n = 0
[LoadComponentInfo] INFO: Generating Android minimum SDK...
[LoadComponentInfo] INFO: Generating native libraries...
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify native
[LoadComponentInfo] Native Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating permissions...
[LoadComponentInfo] usesLocation = False
[LoadComponentInfo] Permissions needed, n = 35
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify queries
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify services
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify xmls
[LoadComponentInfo] Component xmls needed, n = 0
[LoadComponentInfo] INFO: Generating component broadcast receivers...
[LoadComponentInfo] INFO: Component "com.sumit.orientationfix.OrientationFix" does not specify broadcastReceiver
[LoadComponentInfo] Task succeeded in 0.008 seconds
[VerifyExtensions] Starting Task
[VerifyExtensions] Task succeeded in 0.174 seconds
[GenerateBuildId] Starting Task
[GenerateBuildId] INFO: Skipping Build ID generation for App with no required components.
[GenerateBuildId] Task succeeded in 0.0 seconds
[RetrieveGamAdUnit] Starting Task
[RetrieveGamAdUnit] INFO: Skipping Ad Unit ID retrieval for app with no required components.
[RetrieveGamAdUnit] Task succeeded in 0.0 seconds
[PrepareAppIcon] Starting Task
[PrepareAppIcon] INFO: Creating mipmap dirs...
[PrepareAppIcon] INFO: Generating icons...
[PrepareAppIcon] Generating icons for mipmap-mdpi
[PrepareAppIcon] Generating icons for mipmap-hdpi
[PrepareAppIcon] Generating icons for mipmap-xhdpi
[PrepareAppIcon] Generating icons for mipmap-xxhdpi
[PrepareAppIcon] Generating icons for mipmap-xxxhdpi
[PrepareAppIcon] Task succeeded in 0.345 seconds
[XmlConfig] Starting Task
[XmlConfig] INFO: Creating animation xml
[XmlConfig] Creating zoom_enter.xml
[XmlConfig] Creating fadeout.xml
[XmlConfig] Creating slide_v_exit.xml
[XmlConfig] Creating fadein.xml
[XmlConfig] Creating zoom_exit.xml
[XmlConfig] Creating slide_v_enter.xml
[XmlConfig] Creating zoom_exit_reverse.xml
[XmlConfig] Creating slide_v_enter_reverse.xml
[XmlConfig] Creating zoom_enter_reverse.xml
[XmlConfig] Creating slide_enter_reverse.xml
[XmlConfig] Creating slide_exit.xml
[XmlConfig] Creating hold.xml
[XmlConfig] Creating slide_enter.xml
[XmlConfig] Creating slide_v_exit_reverse.xml
[XmlConfig] Creating slide_exit_reverse.xml
[XmlConfig] INFO: Creating colors xml
[XmlConfig] INFO: Creating styles xml
[XmlConfig] INFO: Creating provider_path xml
[XmlConfig] INFO: Creating network_security_config xml
[XmlConfig] INFO: Generating adaptive icon file
[XmlConfig] INFO: Generating round adaptive icon file
[XmlConfig] INFO: Generating adaptive icon background file
[XmlConfig] INFO: Creating fragment xml
[XmlConfig] INFO: Creating listview xml
[XmlConfig] INFO: Creating listview-21 xml
[XmlConfig] INFO: Creating drawable xml
[XmlConfig] INFO: Creating drawable-21 xml
[XmlConfig] INFO: Creating strings xml
[XmlConfig] Task succeeded in 0.003 seconds
[CreateManifest] Starting Task
[CreateManifest] INFO: Reading project specs...
[CreateManifest] VCode: 1
[CreateManifest] VName: 1.0
[CreateManifest] Custom Package Name: com.sweez.lodutournament
[CreateManifest] Min SDK 21
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.Home'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.rocket'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.ff'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.done'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.Login'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.Screen1'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.HTAM'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.bkash'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.Profile'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.Matchdetails'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.Register'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.Wallet'
[CreateManifest] INFO: Writing screen 'io.kodular.business_mahtabnihar.lodutournament.nogod'
[CreateManifest] Task succeeded in 0.001 seconds
[AttachNativeLibs] Starting Task
[AttachNativeLibs] Task succeeded in 0.0 seconds
[AttachAarLibs] Starting Task
[AttachAarLibs] Task succeeded in 0.081 seconds
[AttachCompAssets] Starting Task
[AttachCompAssets] Task succeeded in 0.02 seconds
[MergeResources] Starting Task
[MergeResources] Task succeeded in 0.07 seconds
[SetupLibs] Starting Task
[SetupLibs] Task succeeded in 0.0 seconds
[RunAapt] Starting Task
[RunAapt] Task succeeded in 1.99 seconds
[GenerateClasses] Starting Task
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/Home.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/rocket.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/ff.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/done.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/Login.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/Screen1.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/HTAM.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/bkash.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/Profile.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/Matchdetails.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/Register.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/Wallet.yail
[GenerateClasses] INFO: Source File: io/kodular/business_mahtabnihar/lodutournament/nogod.yail
[GenerateClasses] ERROR: Kawa compile has failed.
(compiling io/kodular/business_mahtabnihar/lodutournament/Home.yail to io.kodular.business_mahtabnihar.lodutournament.Home)
(compiling io/kodular/business_mahtabnihar/lodutournament/rocket.yail to io.kodular.business_mahtabnihar.lodutournament.rocket)
ERROR: io/kodular/business_mahtabnihar/lodutournament/rocket.yail line 50: duplicate declaration of 'back'
[GenerateClasses] ERROR: Can't find class file for Screen 'rocket'
[GenerateClasses] Task errored in 0.832 seconds
.

After trying again a new report.
Note- Rocket and nogod both are copied screen.

This is not a new project. I’ve been working on there for few years and never found these issues.


Its just a back button block and not duplicated. then why still issue persisting?

We are tracking this here:


unable to check

@Diego The issue is not solved yet.


Then why its showing as resolved on bug tracker?

EDIT- Its exporting when I changed the back button to name to something else.

There you go
Taifun

That section is named “Fixed - Awaiting Release