Hello. I have one serious question. What language was used to make MIT AI2 COMPANION App? Also Can I make an MIT AI2 COMPANION only by MIT APP INVENTOR?
Believe it or not, the Companion app is made by App Inventor itself.
This is the folder location for the Companion app. Download it and rename it to an AIA format.
I think this original source has a fault. When I test that original companion app aia file with mit ai2 companion, it works well. But, When I build an apk file and run it in my phone, the error "Unknown package: edu.mit.appinventor.aicompanion3" comes out when I click connect with code or scan QR code button. How can I fix it?
The production version of App Inventor we publish won't compile the companion app out of the box. The companion app is only designed to be compiled via the regular App Inventor build process. To compile an updated version of the app, you need to do the following:
- As an administrator, use the "Generate YAIL" option in the build menu to create an updated version of Screen1.yail.
- Export the project and replace the sources in aiplayapp with your modified files (technically, you only have to update Screen1.yail)
- Edit Screen1.yail to update the package name and replace the
define-formcall at the top of the file with
define-repl-formto declare that the app should extend
- Build App Inventor with
ant, or more specifically
ant PlayAppfor the APK or
ant PlayAppAabfor the AAB file for distribution via Google Play.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.