Jump to content

Recommended Posts

Posted (edited)

Hi guys,

 

I'm having a few problems with MIT App Inventor and I wondered if anyone might be able to help. I've deployed an msi to a computer suite of 30 computers and problems keep cropping up. Some work, some don't. The main issues stem from the emulator.

 

First error is:

Companion Version Check

 

The Companion you are using is out of date.

 

This version of App Inventor should be used with Companion version 2.23ai2zx1

 

However this is the version I have already installed!

 

 

 

 

The second problem is:

Launch the aiStarter program on your computer and then try again.

 

I've tried launching aiStarter before and during whilst using App Inventor and still receive the same error.

 

 

 

Has anyone encountered something similar?

 

Any help would be greatly appreciated!

 

[EDIT]

 

Whilst I'm still having an issue with problem 1, I have since solved the issue to problem 2. The reason that aiStarter isn't registering as open is because it (a) hasn't opened properly or (b) wasn't closed down correctly. I was initially closing down the command box by clicking the red 'X'. However you need to hit Ctrl-C to fully kill the application. Once reopened it works fine.

 

[EDIT 2]

 

I found a work around for problem 1 :)

 

You need to obtain the latest emulator .apk (which for me currently is 2.22ai2zx1) - D/L Here

 

1) Copy and paste the .apk into the root of App Inventor which is typically C:\Program Files\AppInventor\commands-for-Appinventor.

 

2) Launch the command prompt and change directory to C:\Program Files\AppInventor\commands-for-Appinventor (or wherever it's installed).

 

3) Now in Google Chrome, log-in to App Inventor and run the emulator as normal, ensure the emulator is running during step 4.

 

4) In command prompt, with the 'commands-for-appinventor' folder selected, paste the following: adb -e install -r YourFile.apk

 

5) The emulator will upgrade using the .apk and will work right away.

 

:D

Edited by IcedBreeze
Fix found.
Posted

I'm having the second problem as well, the emulator refuses to start complaining that aiStarter is not running - but it is

 

So far I have tried reinstalling and I have tried clicking on Connect... and Hard reset then restarting the browser(Chrome)

Posted
I had the second issue, turned out to be proxy/firewall related... We had an old pac file and PCs were set to automatically detect proxy settings, so I disabled that and it worked... I doubt that'd be the solution for others with the same issue, but I heard someone else say it was proxy related when they had the same...
  • Thanks 1
Posted
I had the second issue, turned out to be proxy/firewall related... We had an old pac file and PCs were set to automatically detect proxy settings, so I disabled that and it worked... I doubt that'd be the solution for others with the same issue, but I heard someone else say it was proxy related when they had the same...

 

Thanks Rich, I did suspect it could be proxy/firewall related. All of the PCs are identical and have the same proxy settings, so not too sure!

Posted
Thanks Rich, I did suspect it could be proxy/firewall related. All of the PCs are identical and have the same proxy settings, so not too sure!

 

Try disabling the proxy once you're logged into the App Inventor site and see if it works?

Posted
Have you enabled access to the command line? If you don't, it won't work.

 

Hi deKay, as this is for students to use, by default command line is blocked by group policy (I'll double check). However when they run aiStarter the command line box does appear with the emulator settings and this does work on a number of PCs.

Posted

I have a solution if anyone is interested.

No need to enable command prompt for students, or run AIstarter as a service.

Also includes a tool to update the client in the emulator for deployment.

Posted
I have a solution if anyone is interested.

No need to enable command prompt for students, or run AIstarter as a service.

Also includes a tool to update the client in the emulator for deployment.

 

Hi AXE, that would be great if you're able to help?

Posted
I would be very interested in the same thing - I've come across several "solutions" that negate needing command line access, but none of them work.
Posted
I would be very interested in the same thing - I've come across several "solutions" that negate needing command line access, but none of them work.

 

Just send me a PM :). I have both vanilla and CC4 packages.

Posted
Just send me a PM :). I have both vanilla and CC4 packages.

 

Thanks for sending that through AXE, I've also found a working solution for the problem - I've edited my original post.

Posted
I have a solution if anyone is interested.

No need to enable command prompt for students, or run AIstarter as a service.

Also includes a tool to update the client in the emulator for deployment.

 

Hi AXE, would you mind me sending you a PM about this solution? I've been trying to create a working package for our CC4 network without much success so far so it'd be good to see how you've solved this without command prompt.

 

Thanks

Posted
Hi AXE, would you mind me sending you a PM about this solution? I've been trying to create a working package for our CC4 network without much success so far so it'd be good to see how you've solved this without command prompt.

 

Thanks

 

Feel free. :) Happy to help.

  • Thanks 1
  • 2 weeks later...
  • 2 months later...
Posted

Hi Axe

 

Can you just post the solution here for everyone to see? It would mean that you won't keep being hassled by people to send you the solution.

 

Thanks

Posted
Hi Axe

 

Can you just post the solution here for everyone to see? It would mean that you won't keep being hassled by people to send you the solution.

 

Thanks

 

+1 for that

Posted

Thanks for that Axe.

 

For the record i have used the vanilla version, used it to update the Appinventor-emulator-data file, saved it to a central location and then used our own script to copy it to all the computers in our labs.

 

I had tried to do this by updating my install of AI, and copying the Appinventor-emulator-data file, which had worked on the previous update, but for some reason wouldn't work this time.

 

Good work Axe.

  • Thanks 1
Posted

Thank you for this, it looks so much nicer than what I was doing before! One question though, launching the emulator works fine as admin, but as a student I get the below error.

 

Any one got any ideas as to what is causing this? Google gave me some solutions, but they all involved installing the .NET Framework 2.0 Software Development Kit on each machine and manually changing settings or running a tool called caspol (off the top of my head) at logon.

 

error.png

Posted
Thank you for this, it looks so much nicer than what I was doing before! One question though, launching the emulator works fine as admin, but as a student I get the below error.

 

Any one got any ideas as to what is causing this? Google gave me some solutions, but they all involved installing the .NET Framework 2.0 Software Development Kit on each machine and manually changing settings or running a tool called caspol (off the top of my head) at logon.

 

Ideally, I need to see the error details. :)

It could be that students don't have write access to the Program Files\AppInventor\Working folder.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...