Problem with connection MBots by Bluetooth with the extension com.makeblock.appinventor.MBot-sans extension servo.aix

Hello there!

I have a big issue trying to connect MBots 1.0 with my phone by bluetooth. I'm using the old way of connecting the robots like into the picture (I've tried also the new one with the servo-motors 1.9 but nothing happened) but there's two bugs encountered.

image

The first one is that AppInventor can't compile the project (cf at the end of the topic).

The second one is that the app on the mobile crashes when I try to connect to the bluetooth : ("Runtime error : Failed resolution of : Lcom/google/appinventor/components/runtime/util/BluetoothReflection;).

Could you help me please? I've seen only one topic about this but there were no solution to the problem...

First bug :

App Inventor est incapable de compiler ce projet.
L’erreur du compilateur était
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task succeeded in 0.006 seconds
[LoadComponentInfo] Starting Task
[LoadComponentInfo] INFO: Generating assets...
[LoadComponentInfo] Component assets needed, n = 0
[LoadComponentInfo] INFO: Generating activities...
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Bluetooth.MBot" does not specify activities
[LoadComponentInfo] Component activities needed, n = 1
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Bluetooth.MBot" does not specify activityMetadata
[LoadComponentInfo] Component activity metadata needed, n = 0
[LoadComponentInfo] INFO: Generating broadcast receivers...
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Bluetooth.MBot" does not specify broadcastReceivers
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Bluetooth.MBot" does not specify services
[LoadComponentInfo] Component content providers needed, n = 0
[LoadComponentInfo] INFO: Generating libraries...
[LoadComponentInfo] Libraries needed, n = 0
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Bluetooth.MBot" does not specify metadata
[LoadComponentInfo] Component metadata needed, n = 0
[LoadComponentInfo] INFO: Generating Android minimum SDK...
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Bluetooth.MBot" does not specify androidMinSdk
[LoadComponentInfo] INFO: Generating native libraries...
[LoadComponentInfo] Native Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating permissions...
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Button" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Form" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.HorizontalArrangement" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Image" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Label" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.ListPicker" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.VerticalArrangement" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Bluetooth.MBot" does not specify permissionConstraints
[LoadComponentInfo] usesLocation = False
[LoadComponentInfo] Permissions needed, n = 7
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Bluetooth.MBot" does not specify queries
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Bluetooth.MBot" does not specify services
[LoadComponentInfo] Component services needed, n = 0
[LoadComponentInfo] INFO: Generating component broadcast receivers...
[LoadComponentInfo] Task succeeded in 0.006 seconds
[PrepareAppIcon] Starting Task
[PrepareAppIcon] INFO: Creating mipmap dirs...
[PrepareAppIcon] INFO: Generating icons...
[PrepareAppIcon] Generating icons for mipmap-mdpi
[PrepareAppIcon] Generating icons for mipmap-hdpi
[PrepareAppIcon] Generating icons for mipmap-xhdpi
[PrepareAppIcon] Generating icons for mipmap-xxhdpi
[PrepareAppIcon] Generating icons for mipmap-xxxhdpi
[PrepareAppIcon] Task succeeded in 0.229 seconds
[XmlConfig] Starting Task
[XmlConfig] INFO: Creating animation xml
[XmlConfig] Creating zoom_enter.xml
[XmlConfig] Creating fadeout.xml
[XmlConfig] Creating slide_v_exit.xml
[XmlConfig] Creating fadein.xml
[XmlConfig] Creating zoom_exit.xml
[XmlConfig] Creating slide_v_enter.xml
[XmlConfig] Creating zoom_exit_reverse.xml
[XmlConfig] Creating slide_v_enter_reverse.xml
[XmlConfig] Creating zoom_enter_reverse.xml
[XmlConfig] Creating slide_enter_reverse.xml
[XmlConfig] Creating slide_exit.xml
[XmlConfig] Creating hold.xml
[XmlConfig] Creating slide_enter.xml
[XmlConfig] Creating slide_v_exit_reverse.xml
[XmlConfig] Creating slide_exit_reverse.xml
[XmlConfig] INFO: Creating style xml
[XmlConfig] INFO: Creating provider_path xml
[XmlConfig] INFO: Creating network_security_config xml
[XmlConfig] INFO: Generating adaptive icon file
[XmlConfig] INFO: Generating round adaptive icon file
[XmlConfig] INFO: Generating adaptive icon background file
[XmlConfig] Task succeeded in 0.004 seconds
[CreateManifest] Starting Task
[CreateManifest] INFO: Reading project specs...
[CreateManifest] VCode: 1
[CreateManifest] VName: 1.0
[CreateManifest] Min SDK 7
[CreateManifest] INFO: Writing screen 'appinventor.ai_allanpujazon.MBlock.Screen1'
[CreateManifest] Task succeeded in 0.001 seconds
[AttachNativeLibs] Starting Task
[AttachNativeLibs] Task succeeded in 0.001 seconds
[AttachAarLibs] Starting Task
[AttachAarLibs] Task succeeded in 0.156 seconds
[AttachCompAssets] Starting Task
[AttachCompAssets] Task succeeded in 0.001 seconds
[MergeResources] Starting Task
[MergeResources] Task succeeded in 0.202 seconds
[SetupLibs] Starting Task
[SetupLibs] Task succeeded in 0.0 seconds
[RunAapt] Starting Task
[RunAapt] Task succeeded in 1.052 seconds
[GenerateClasses] Starting Task
[GenerateClasses] INFO: Source File: appinventor/ai_allanpujazon/MBlock/Screen1.yail
[GenerateClasses] INFO: Libraries Classpath = /tmp/kawa961291720275496507.jar:/tmp/acra-4.4.08681071768741352037.jar:/tmp/AndroidRuntime5983443184484651335.jar:/tmp/annotation8523112687539151131.jar:/tmp/appcompat1184163661906580103.jar:/tmp/asynclayoutinflater7904862720366130840.jar:/tmp/collection8034913542991652493.jar:/tmp/constraintlayout2910582587744279217.jar:/tmp/constraintlayout-solver1102012175895518430.jar:/tmp/coordinatorlayout6074760615729191167.jar:/tmp/core7560155748528749766.jar:/tmp/core-common515125934451539628.jar:/tmp/core-runtime6788295490933408333.jar:/tmp/cursoradapter3891056118064934763.jar:/tmp/customview7272065482316853441.jar:/tmp/documentfile1054870477586175960.jar:/tmp/drawerlayout8638969747019432306.jar:/tmp/fragment1296534529460120745.jar:/tmp/interpolator444954128450593584.jar:/tmp/legacy-support-core-ui5804640365087676426.jar:/tmp/legacy-support-core-utils13601939774243051.jar:/tmp/lifecycle-common6830625747678890282.jar:/tmp/lifecycle-livedata7634236536446944570.jar:/tmp/lifecycle-livedata-core7808441214857467046.jar:/tmp/lifecycle-runtime1123094944022655029.jar:/tmp/lifecycle-viewmodel4133458594671102205.jar:/tmp/loader7592253354207137719.jar:/tmp/localbroadcastmanager1103250798405080735.jar:/tmp/print4086798251302086815.jar:/tmp/slidingpanelayout5051695342499810444.jar:/tmp/swiperefreshlayout8964364825805080127.jar:/tmp/vectordrawable4328847718058420801.jar:/tmp/vectordrawable-animated1612964189994181207.jar:/tmp/versionedparcelable8574667295665348940.jar:/tmp/viewpager6877299897689290092.jar:/tmp/1702896672487_0.1584107658475069-0/youngandroidproject/../assets/external_comps/com.google.appinventor.components.runtime.Bluetooth.MBot/files/AndroidRuntime.jar:/tmp/1702896672487_0.1584107658475069-0/youngandroidproject/../build/classes:/tmp/android8247366301359346322.jar
[GenerateClasses] ERROR: Kawa compile has failed.
(compiling appinventor/ai_allanpujazon/MBlock/Screen1.yail to appinventor.ai_allanpujazon.MBlock.Screen1)
ERROR: appinventor/ai_allanpujazon/MBlock/Screen1.yail line 30: call to 'set-and-coerce-property!' has too few arguments (3; must be 4)
[GenerateClasses] ERROR: Can't find class file for Screen 'Screen1'
[GenerateClasses] Task errored in 2.181 seconds

Hi! did you found out how to fix it? I'm having the same problem...

Did you find a solution?