Is AI2Offline version compatible with Windows7 x64 systems?
I got the same error as Uni Fu trying to test a program with USB connection to the device.
When I launch AIStarter from AI2Offline splash screen the missing windows "api-ms-win-core-path-l1-1-0.dll" message fault is displayed. So I installed the VC++ redist to fix the problem but still didn't work. Running the online version of aiStarter seems to be ok and no .dll fault is displayed but live testing a trivial project with USB connection doesn't work. The device seems to connect to the development pc, and an empty screen appears (the test project has just 1 button which is not displayed).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Many thanks Ramiro, your suggestion helped a lot and now the dll problem seems to be fixed.
At the moment I am in the same situation as Uni Fu at the very beginning with the message:
Error from Companion: invoke: no method named AppPackage in class edu.mit.appinventor.aicompanion3.Screen1
and on the device used for live testing, connected by means of USB interface to the development system, appears an empty screen without the button I placed in the designer pane.
I tried the online version and that one works as expected.
My environment is Windows7 Amd x64, AI2Offline rel 4.6.4 and Offline Companion 4.6.4 on the device. I attach the screenshot of aiStarter running.
It looks like you are trying to use aiStarter from the online version of mit on AI2Offline.
AI2Offline comes with its own aiStarter server which should be started by clicking "All AI2Offline Server".
Thank you again Ramiro for you precious support, now the problem is clear.
When I click All AI2Offline Server button in AI2Offline screen only 2 windows shells stay open, the buildserver.com and dev_appserver.com. The aiStarter closes immediately. So I tried to open the command shell and launching the aiStarter.exe application by myself to catch some error message but what I get is just the attached screen. The program terminates immediately without any feedback info.
AI2Offline 4.6.4.
Windows 10 Pro.
Chrome 109.0.5414.75
Android 9
When i use Connect -> AI Companion
Show Error is
Error from Companion: invoke: no method named
AppPackage
in class edu.mit.appinventor.aicompanion3.Screen1New project to add button and click will change Screen1.Title to "123".
You must make sure to use AI2Offline Companion https://sourceforge.net/projects/ai2offline/files/4.6.4/AI2%20Offline%20Companion.apk/download
Sorry , i forget this version, i use AI2Offline Companion 2.65.
Also has that error.
Now i use Version 4.5.4 is fine.
I has try 4.6.3 has same error.
Thanks.
Just to confirm that you are using the correct version, if so can you share an aia test project that generates that error, thanks.
Hello, It's work by win 10 and 4.6.4.
Using that's app can working.
Thank you very much~
I just using easy project. Thanks.
I try to Win11 is fine.
I used correct version with win10, and i will try by next week for win10.
Thanks.
Is AI2Offline version compatible with Windows7 x64 systems?
I got the same error as Uni Fu trying to test a program with USB connection to the device.
When I launch AIStarter from AI2Offline splash screen the missing windows "api-ms-win-core-path-l1-1-0.dll" message fault is displayed. So I installed the VC++ redist to fix the problem but still didn't work. Running the online version of aiStarter seems to be ok and no .dll fault is displayed but live testing a trivial project with USB connection doesn't work. The device seems to connect to the development pc, and an empty screen appears (the test project has just 1 button which is not displayed).
https://sourceforge.net/p/ai2offline/tickets/6/ I don't have a Windows 7 machine, you can try the solution given in this ticket by Massimo
Many thanks Ramiro, your suggestion helped a lot and now the dll problem seems to be fixed.
At the moment I am in the same situation as Uni Fu at the very beginning with the message:
Error from Companion: invoke: no method named AppPackage in class edu.mit.appinventor.aicompanion3.Screen1
and on the device used for live testing, connected by means of USB interface to the development system, appears an empty screen without the button I placed in the designer pane.
I tried the online version and that one works as expected.
My environment is Windows7 Amd x64, AI2Offline rel 4.6.4 and Offline Companion 4.6.4 on the device. I attach the screenshot of aiStarter running.
It looks like you are trying to use aiStarter from the online version of mit on AI2Offline.
AI2Offline comes with its own aiStarter server which should be started by clicking "All AI2Offline Server".
I was testing the usb connection in windows 11 without any problem.
Thank you again Ramiro for you precious support, now the problem is clear.
When I click All AI2Offline Server button in AI2Offline screen only 2 windows shells stay open, the buildserver.com and dev_appserver.com. The aiStarter closes immediately. So I tried to open the command shell and launching the aiStarter.exe application by myself to catch some error message but what I get is just the attached screen. The program terminates immediately without any feedback info.
Sorry my fault, I launched the wrong one. The aiStarter is in C:\ai2offline\ai2u\aistarter
the right screenshot to consider is this one
Last edit: Eric 2023-01-15
Thanks, I see the problem now.
Hello, I have compiled a version of aiStarter that should work on windows 7, you can check that it works.
If so, it will be included in the next update, thanks.
Great job Ramiro, now it works.
Thank you very much!!