Hello
So, after i compiled the extension and uploaded it on the mit app inventor Extension,
It faced me this error from mit app inventor :
(App Inventor is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task succeeded in 0.005 seconds
[LoadComponentInfo] Starting Task
[LoadComponentInfo] INFO: Generating assets…
[LoadComponentInfo] Component assets needed, n = 0
[LoadComponentInfo] INFO: Generating activities…
[LoadComponentInfo] Component activities needed, n = 0
[LoadComponentInfo] Component activity metadata needed, n = 0
[LoadComponentInfo] INFO: Generating broadcast receivers…
[LoadComponentInfo] Component content providers needed, n = 0
[LoadComponentInfo] INFO: Generating libraries…
[LoadComponentInfo] Libraries needed, n = 0
[LoadComponentInfo] Component metadata needed, n = 0
[LoadComponentInfo] INFO: Generating Android minimum SDK…
[LoadComponentInfo] INFO: Generating native libraries…
[LoadComponentInfo] Native Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating permissions…
[LoadComponentInfo] usesLocation = False
[LoadComponentInfo] Permissions needed, n = 2
[LoadComponentInfo] INFO: Component “Com.androidmt2c5.Whivch8w” does not specify queries
[LoadComponentInfo] Component services needed, n = 0
[LoadComponentInfo] INFO: Generating component broadcast receivers…
[LoadComponentInfo] Task succeeded in 0.002 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 1.211 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_enforce_service_user.He.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.155 seconds
[AttachCompAssets] Starting Task
[AttachCompAssets] Task succeeded in 0.0 seconds
[MergeResources] Starting Task
[MergeResources] Task succeeded in 0.165 seconds
[SetupLibs] Starting Task
[SetupLibs] Task succeeded in 0.0 seconds
[RunAapt] Starting Task
[RunAapt] Task succeeded in 0.94 seconds
[GenerateClasses] Starting Task
[GenerateClasses] INFO: Source File: appinventor/ai_enforce_service_user/He/Screen1.yail
[GenerateClasses] INFO: Libraries Classpath = /tmp/kawa8701552545765174585.jar:/tmp/acra-4.4.02377638547662487544.jar:/tmp/AndroidRuntime3768446472587463139.jar:/tmp/annotation1271365697063461196.jar:/tmp/annotation-experimental1927576996325667334.jar:/tmp/appcompat10834405997209908892.jar:/tmp/asynclayoutinflater9896724816183372108.jar:/tmp/collection11273077078235353171.jar:/tmp/constraintlayout10023729490193861571.jar:/tmp/constraintlayout-solver6310220825246520574.jar:/tmp/coordinatorlayout201340278595235693.jar:/tmp/core3136442512224274449.jar:/tmp/core-common2606951722704447040.jar:/tmp/core-runtime8122923695932002459.jar:/tmp/cursoradapter5381357360810890754.jar:/tmp/customview8706723124215458317.jar:/tmp/documentfile18244190512625772445.jar:/tmp/drawerlayout2170989348764753461.jar:/tmp/fragment17970444730041613674.jar:/tmp/interpolator5139395560298202559.jar:/tmp/legacy-support-core-ui1681327115121330338.jar:/tmp/legacy-support-core-utils1963526194146569046.jar:/tmp/lifecycle-common2969732849971330933.jar:/tmp/lifecycle-livedata16694275334448547413.jar:/tmp/lifecycle-livedata-core835852924500169487.jar:/tmp/lifecycle-runtime4136227014844036515.jar:/tmp/lifecycle-viewmodel3912401674156873490.jar:/tmp/loader15983388328422101065.jar:/tmp/localbroadcastmanager18225438702113527668.jar:/tmp/print2264122295050292878.jar:/tmp/slidingpanelayout9919736566836557682.jar:/tmp/swiperefreshlayout2511748732033732660.jar:/tmp/vectordrawable17385595185044151816.jar:/tmp/vectordrawable-animated14917780196641070354.jar:/tmp/versionedparcelable8498535177760100863.jar:/tmp/viewpager14346027776260449990.jar:/tmp/1729855147201_6023142576796606464-0/youngandroidproject/…/assets/external_comps/Com.androidmt2c5/files/AndroidRuntime.jar:/tmp/1729855147201_6023142576796606464-0/youngandroidproject/…/build/classes:/tmp/android6255787849662562044.jar
[GenerateClasses] ERROR: Kawa compile has failed.
(compiling appinventor/ai_enforce_service_user/He/Screen1.yail to appinventor.ai_enforce_service_user.He.Screen1)
ERROR: appinventor/ai_enforce_service_user/He/Screen1.yail line 26: call to ‘set-and-coerce-property!’ has too few arguments (3; must be 4)
ERROR: appinventor/ai_enforce_service_user/He/Screen1.yail line 26: 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.255 seconds)
It unable to compile the apk app.
Thank you.