Has anyone else has had or does have the error that assets can not be loaded?

That might be a separate issue, unless you were close to your own world record in those Projects also...

no .. one of the others is only 1,050 kb and 6 jpg

It is most likely this is a combination of factors causing the problem at your end -

"something wrong with "things" at your end" :wink:

and it can take a few days of self configuration by various systems / caches / etc. to sort themselves out.

I have similarly suffered, something changes on the ai2 configuration, or breaks, I have a problem, no-one but me has the same issue, and eventually my system catches up and everything is OK again. Of course, I am special, and have a particular setup, my choice, my life, I have to live with it and work through it.

1 Like

really need to get OFFLINE to work :persevere:

File cant be corrupted if it will compile and run perfectly can it?

... the issue with the Companion would have been something different then.

I think we are seeing a hole in App Inventor because the recent introduction of images for List Views can only increase the total count in Assets.

They don't have to be in the assets....(pull down from online to ASD, or use urls)

my html? They are hand written and super simple as well as small

1 Like

@Wes_Savage Don't you think you should reply to this ?

I did reply to it @SHUBHAMR69

see 128

1 Like

It can be corrupted during the upload. Currently, AI2Offline (which is a 3rd Party program based on the Open Source, MIT does not oversee it) is proving reliable but there have been times in the past where none of the Offline efforts could be 100% trusted as they all had niggles from time to time and that included being unable to load the Project onto the MIT Server. Plus of course, as soon as a new App Inventor version is released, the 3rd Party programs are out of date.

1 Like

Lucky me? :rofl:

I think you are just basking in the glory of your world record :joy:

https://community.appinventor.mit.edu/t/trouble-connecting-to-mit/57979/133?u=shubhamr69

It seemed as if you were talking about the base project luckily connected.

But if the case is that only that project isn't loading, then the problem is in that project.

Try making a copy of that project.

Projects -> Save Project As...

Then try deleting some files from that copy of the project.

I have mentioned that with regards to Wes's App, but it would be nice to be able to include thumbnail images in Assets for List Views and Buttons, given that isn't a problem for Android. I'm not sure but I think it was said that the issue is partly down to the Server being a Google Server, with restrictions imposed by Google.

May I share some experiences with ya'll. :slight_smile:

I have an app :slight_smile:

  • aia is 2.81 Mb in size
  • assests are
    assets

1,196 html files ( this is not a mistake, it is over 1000 html files in Media)

The aia

  • will not load in the main server
  • it loads in in live development with Companion, slowly but ok in the code.appinventor server
  • it compiles the apk slowly. As I recall, it takes several minutes

I have a DSL internet connection of 56 Mbps (see https://fast.com/)

1 Like

You broke Wes's World Record of 69 and some Steve! :trophy:

Wes, your mission is to get the Project working in AI2Offline, it fails because of the number of Assets (as does %ai2.appinventor.mit.edu).

What to do? What I would do is try the Project without the HTML files and if it's OK, work with the Project like that, knowing that the HTML files can be restored when you can return to the %code.appinventor.mit.edu Server.

Thank you so much for the split and the knowledge @SteveJG
As I suspected from the start its a server and speed problem. I cannot send fast enough (most of the time, there are exceptions like an hour ago) and consequently the server does not get all of the data (times out my send).

This makes good sense since there are EXCEPTIONAL times that it works fine. Those times are VERY impossible for me to get here.

If only I could get the OFFLINE to work these speed issues would be limited.

1 Like

But Chris, I repeat? A little over an hour ago it loaded into AI2 without a hitch and the companion ran just fine !! Since it will run properly when it does load properly it does not seem to me there is a need to remove files? I want VERY much for it to run in OFFLINE MIT but unfortunately it produces the same errors.

I had much trouble getting OFFLINE installed because the portable version produced the same errors so I switched to the executable version which will not run from the shortcut hmmm. I did manage to write my own exe however to fire up the executable but still the errors persist

...but if you recall what I said about the combination of things working against files with a large Asset count, you have probably loaded the Project at a very good time - next time, it might not load again.

It might be worth asking the developer of AI2Offline if there is a fixed limit to the number of Assets.