Companion Runtime Error [GSoC-'21]

Hi, I have been trying to run my newly added RadioButton component code on my physical android device and emulator. I tried using AI companion and Emulator option however both are showing the same error. The screenshot of error:

I have also referred to

  1. https://community.appinventor.mit.edu/t/runtime-error-error-from-companion/13071
  2. https://community.appinventor.mit.edu/t/emulator-runtime-error/15865

but these didn't fix it either. My companion version is 2.60 on both the emulator and real device. I did build the apk and then transferred it to my physical android device and it works as expected.

APK: https://drive.google.com/file/d/1P4ZGxFLphnNDD4CzSVVZgqfEH9OeCSI3/view?usp=sharing
Code: https://github.com/Hardik5247/appinventor-sources/tree/radiobutton%26group

@Hardik_Thami which companion app you are using?

If it is download from play store then you need use your own companion app.

It is downloaded from the play store.

@Hardik_Thami each time when you change into source code you need to use new companion app.

2 Likes

you can find your companion app
./build/buildserver/MIT AI2 Companion.apk

2 Likes

@Hardik_Thami this document help you, Section 2.6
https://docs.google.com/document/pub?id=1Xc9yt02x3BRoq5m1PJHBr81OOv69rEBy8LVG_84j9jc#h.3aibbept75tt

3 Likes

Thanks, it worked!