Errore prolungato di caricamento nel companion

Hello everyone,
For quite some time now, in order to try one of my apps via the companion, I have to wait up to half an hour of repeated attempts. I ask you what the problem could be
Greetings
Nicola

The project may be large, the internet may be slow. I just tried it, I don't have the same problem.

1 Like

unchive.kodular.io
Upload your project here and post the overview statistics of your project here in this thread

Taifun

Hi Nicola

It appears to be "stuck" loading assets. If using images, are they optimised for Android? Does your App use extensions?

https://www.professorcad.co.uk/appinventortips#TipsImages

I decided to add 324 photos of automotive images with a png extension in 50x50 format, associating them with a ListView of the same and I don't use any extension.

See https://tinypng.com/
to avoid
Ideas for App Inventor 2 Anti-Awards - #102 by ABG

Taifun

1 Like

See also here:

@Anke you're right, I forgot that the "phase" extension was also present in my app; but my aia file is just 1.85 MB in size

The problem is not the size of the AIA, but the number of assets.
Try on this server: http://code.appinventor.mit.edu/

@Anke Even uploading the AIA file with this server that you recommended, the problem remains

Post the aia or send it to me via PM.

Update @shreyash's Phase extension:


I've no problem with Companion and / or building the APK.

1 Like

The png images could be converted to webp, that would reduce the file size. Also, are any of those images 32bit but do not have transparency? If so, reduce them to 24 bit.

1 Like