Export Apk Error 500

Every time I try to export my app, this message come out!

Hi Dennis, can you try to create a blank / empty app, and see if that works?

I did it. I can export the blank / empty app without problem, but the other one still doesn’t work

Let me know what could be the problem when you have time, i needed the app today, was a gift for a birthday :pensive_face:

Upload the aia file to https://unchive.kodular.io to get some statistics about the project amd post the statistics overview here

Taifun

Hello Taifun, do you need the download of the Summary or the .aiv file? :blush:

just post a screenshot of the summary
Taifun

Here, i hope you find something :blush:


i can’t put 3 screen on a post :sweat_smile:

too many screens and probably too many assets
follow the DRY principle of programming and resue your screens, see also tip 1 and 3 here

Don't repeat yourself - Wikipedia.

Taifun

Then what should be tecnically the problem? Assets? If yes i have for example 2 image of the same image with different size, is there something i could do to change size before showing an image? This way i could remove half of assets basically. But anyway i want to update this app in future with more screens and assets, that means i would anyway have the same problem? Is there also a limit?

  • every screen is double because i make 1 of every screen for admin and 1 of every screen for the other person because i dont know how to check if the person logged in is admin or not, maybe this way i could also spare half screens? Im new with programming sadly

after 10 screens you get a warning… it looks like you ignored it

store only the larger image and set the size before displaying it

yes, again: reuse your screens!

and Building Apps with Many Screens

learn to reuse your screens
see the previous tips as a start

Taifun

1 Like

Just a question, is there maybe a possibilities i could send you in private my project? You could import it on your kodular, make it better with this changes ( i can explain every screen what do and what is double etc ) and then export again my project and delete it. So i could import on my kodular again and export to apk. Please :folded_hands:t2: