Too many assets in project? Help

Hello guys, boys
I have a very technical problem to submit to you
For a long time I have developed an app to classify collector coins.
I developed the app with app inventor and would like to migrate to Makeroid (which has more potential, even graphics)
My app contains numerous files in the ASSETS folder (about 300) and will have even more files in the years to come…
I can’t upload the project to Makeroid (I think because of the many files in Assets).
I have the same problem in App inventor but I solved it by uploading my project from: http://code.appinventor.mit.edu/
I enclose a simple project (only with files in Assets) to help you better understand the problem and the error that Makedroid makes me.
Can you give me a solution?
P. S. I don’t want to upload all the files in runtime…
Thank you in advance

PaoloServer ErrorTest_assets.aia (1,3 MB)

It has to do with the number of assets. When i, as a test, deleted halve of your assets the aia file is imported right.

you asked your questions on the AI forum some time ago.

https://groups.google.com/forum/#!searchin/mitappinventortest/number$20of$20assets|sort:relevance/mitappinventortest/vHM1hWp5AT8/2whG_YWdBAAJ

Yes, Peter is true, I asked myself if there is a solution for Makeroid as well…

Evans explanation why it works on code.appinventor and not on ai2.appinventor is:

There’s a hard limit at 10 MB per project to send it to the build server. This is enforced by the Google App Engine runtime–if we go over, it will kill the transfer. Another challenge is that a project with many files (screens + assets + extensions) will take a long time to load out of Google Cloud Storage. There is a hard limit of 1 minute runtime so if there are too many files then that can end up killing the transfer to the build server as well. If you are running into problems at ai2.appinventor.mit.edu you can try loading your projects into code.appinventor.mit.edu and try there. The latter server runs at Amazon rather than Google and so doesn’t have the same restrictions.

Evan

Thank you Peter, you were very clear and precise!
I understand that the same restrictions apply to Makeroid (10 MB size and 1 minute connection)
No hope of loading my project into Makeroid.
Perhaps if one day there will be a builder version that works offline I could upload and compile my project, for App Inventor it exists.
I’m sorry because I like the Makeroid development environment and its Forum very much.

Paolo

I don’t know which servers Makeroid is using. Maybe it is on Amazon. Lets wait what the developers have to say about this.
@Kodular
I just gathered the information.

Thanks Peter
Appearance with anxiety good news
I would like to migrate to Makeroid!!

If you want to have many images as assets, you can convert your image files to Base64 format and save them in TinyDB as text.

A sample image file in Base64 looks like this:
data:text/png;base64,<Base64 code>

To decode images from Base64 use this extension by @sivagiri

Thank you guys,
I will do some experimentation with the method suggested by pavi2410 (I have never used it and I must understand how it is used!)

Great idea.

This would be your Belgian one euro image

/9j/4AAQSkZJRgABAAEAYABgAAD//gAfTEVBRCBUZWNobm9sb2dpZXMgSW5jLiBWMS4wMQD/2wCEABgQEhUSDxgVFBUbGhgdJD0oJCEhJEs1OCw9WU5dXFdOVlRibo14YmiFalRWe6d8hZKWnqCeX3auuqyauI2bnpgBGhsbJCAkSCgoSJhlVmWYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmP/EAC4AAAMBAQEAAAAAAAAAAAAAAAACAwEEBQEBAQEBAAAAAAAAAAAAAAAAAAECA//CABEIAJsAmwMBIgACEQEDEQH/2gAMAwEAAhADEAAAAfVAAACfHHbCVyB2Ic+9QLTlmd5z9AAUAAAHLsoXoaZXJkrJRIZp4dKQewl2pT7wdxoFE6efB1IBitmtuNCgwmPkqY2D25n1GjWOp2iPUuWmxs6Qlrs9zWeVEcwFymE1rkqGB0NOnTPL28PccF4UMlRc6wCLNJzaTohmgubkqzrMe0d3J9nF2Wcb45NKzzrM1IpTGB5sVzRFxlhZVitbSpvMOrk7KjPp5RpNss2xsaRjbN3HKbBkdVUXW0do7uL2RsHN04c2DE1pmbNlyWjRcZkY0NTHDUMK02hQALzdeRzxrhg2SprTKMjGzo1iNlhagAFAAABOhHMvWHIdKkNuxzvYACgAAAD/xAAkEAABAwQCAgMBAQAAAAAAAAABAAIRAxAhMRIgIkEwMkITBP/aAAgBAQABBQLtyCdWaF/eV/R6/q4If6GoPB+QuhGoXn+RKaxrbTaJRoMKirTTKod8NSpADC9CBYuAXO3NcxaU+mHpr3MPaq+AxmU7C8nIABFTcYQg2c0ODSaTujzAYOZTnQmtvtQvdimuiz2h7aLj0qebkXQBfPb2mFSqwhNMhP1Tyolbd10slQoWQtrS9HIoYtWMJo4tJgaGUFK8rR11Ztj411VyU/WZ/US62z29t2qv2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rFayAPr1KrijyPxEFC8va/1EtIW6dHtBhwmnqJgFsdLGXG4Fgea48xwgDDgB4gWhjR6fFRHGj+ZQu00694VBaNW6lnZySgW6MstQtDutrdfmPq616CAJVDdiekYQ0FTqIV+7++JkekV+inI6Y6vRzNFGAhu4hcW/EAAaPiDBYlJC1ud7qM7MrT8OIL+8sXiqtcftTJlpZrnxKHTkqmmW3QuFJb59ZxPpyUSlHXxWmTQdTd7bf4tjsfpKXLwwnF0kZARal+uEgCqNU3fmEUiekCh5CViwMLtz1qD5R7wLasqQUEB22Q2sdTsWoBVV+YCqt0HETItfT+bcicMZO8q2SgAOjT2ljRmXjXwuYUhZMSV3B7B1Nr5hAVqIKH3RSzyPcHszyX/ACUv2EZw/tRN1dmIfdIuK1tsOkNRgW0ozDWv5f6hw/ZqHbXk1ABQAHB/22r9YVfwzQfJgMAHof8AEP/EABsQAAIDAAMAAAAAAAAAAAAAAAERACAwEDFA/9oACAEDAAE/ENVFFErAKpFB4R7yHkFZg1Js449w/8QAHRAAAgICAwEAAAAAAAAAAAAAAREAIBAhMDFBYf/aAAgBAgABPxDlIx48AGxavkaFq4LDye7nrPe/XBgMR0UAeBn0E+ZTgCsREicCiiip/9k=

i used this site to convert it: https://www.base64-image.de/

From the string i deleted this part: data:image/jpeg;base64,

:wink:


As the status page sais, we are running Makeroid in Google Cloud Platform

Didn’t think about looking there. :wink:

Thank you again, guys.
I will do some experiments…
Good work to everyone… you’re strong!

Paolo

2 Likes