Errore in fase di compilazione: call to 'set-and-coerce-property!' has too few arguments (3; must be 4)

Hi everyone,
in my project, despite only having one Label, when creating the APK file, I get the following error:

App Inventor is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task succeeded in 0.004 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] INFO: Component "com.appybuilder.TextUtils.TextUtils" does not specify activityMetadata
[LoadComponentInfo] INFO: Component "io.shreyash.phase.Phase" does not specify activityMetadata
[LoadComponentInfo] Component activity metadata needed, n = 0
[LoadComponentInfo] INFO: Generating broadcast receivers...
[LoadComponentInfo] INFO: Component "io.shreyash.phase.Phase" does not specify broadcastReceivers
[LoadComponentInfo] INFO: Component "com.appybuilder.TextUtils.TextUtils" does not specify contentProviders
[LoadComponentInfo] INFO: Component "io.shreyash.phase.Phase" does not specify contentProviders
[LoadComponentInfo] INFO: Generating libraries...
[LoadComponentInfo] INFO: Component "io.shreyash.phase.Phase" does not specify libraries
[LoadComponentInfo] Libraries needed, n = 5
[LoadComponentInfo] INFO: Component "com.appybuilder.TextUtils.TextUtils" does not specify metadata
[LoadComponentInfo] INFO: Component "io.shreyash.phase.Phase" does not specify metadata
[LoadComponentInfo] Component metadata needed, n = 0
[LoadComponentInfo] INFO: Generating Android minimum SDK...
[LoadComponentInfo] INFO: Component "com.appybuilder.TextUtils.TextUtils" does not specify androidMinSdk
[LoadComponentInfo] INFO: Generating native libraries...
[LoadComponentInfo] INFO: Component "io.shreyash.phase.Phase" does not specify native
[LoadComponentInfo] Native Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating permissions...
[LoadComponentInfo] usesLocation = False
[LoadComponentInfo] Permissions needed, n = 10
[LoadComponentInfo] INFO: Component "com.appybuilder.TextUtils.TextUtils" does not specify queries
[LoadComponentInfo] INFO: Component "com.appybuilder.TextUtils.TextUtils" does not specify services
[LoadComponentInfo] INFO: Component "io.shreyash.phase.Phase" does not specify services
[LoadComponentInfo] INFO: Component "com.appybuilder.TextUtils.TextUtils" does not specify xmls
[LoadComponentInfo] INFO: Component "io.shreyash.phase.Phase" does not specify xmls
[LoadComponentInfo] Component xmls needed, n = 0
[LoadComponentInfo] INFO: Generating component broadcast receivers...
[LoadComponentInfo] INFO: Component "io.shreyash.phase.Phase" does not specify broadcastReceiver
[LoadComponentInfo] Task succeeded in 0.004 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.203 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.006 seconds
[CreateManifest] Starting Task
[CreateManifest] INFO: Reading project specs...
[CreateManifest] VCode: 88
[CreateManifest] VName: FUEL 2.48
[CreateManifest] Min SDK 14
[CreateManifest] INFO: Writing screen 'appinventor.ai_nicolaimperati1978.ConsumoCarburante.Screen1'
[CreateManifest] INFO: Writing screen 'appinventor.ai_nicolaimperati1978.ConsumoCarburante.Manutenzione'
[CreateManifest] INFO: Writing screen 'appinventor.ai_nicolaimperati1978.ConsumoCarburante.Consumi'
[CreateManifest] INFO: Writing screen 'appinventor.ai_nicolaimperati1978.ConsumoCarburante.Screen4'
[CreateManifest] INFO: Writing screen 'appinventor.ai_nicolaimperati1978.ConsumoCarburante.Screen2'
[CreateManifest] INFO: Writing screen 'appinventor.ai_nicolaimperati1978.ConsumoCarburante.Screen3'
[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.143 seconds
[AttachCompAssets] Starting Task
[AttachCompAssets] Task succeeded in 0.06 seconds
[MergeResources] Starting Task
[MergeResources] Task succeeded in 0.195 seconds
[SetupLibs] Starting Task
[SetupLibs] Task succeeded in 0.0 seconds
[RunAapt] Starting Task
[RunAapt] Task succeeded in 1.029 seconds
[GenerateClasses] Starting Task
[GenerateClasses] INFO: Source File: appinventor/ai_nicolaimperati1978/ConsumoCarburante/Screen1.yail
[GenerateClasses] INFO: Source File: appinventor/ai_nicolaimperati1978/ConsumoCarburante/Manutenzione.yail
[GenerateClasses] INFO: Source File: appinventor/ai_nicolaimperati1978/ConsumoCarburante/Consumi.yail
[GenerateClasses] INFO: Source File: appinventor/ai_nicolaimperati1978/ConsumoCarburante/Screen4.yail
[GenerateClasses] INFO: Source File: appinventor/ai_nicolaimperati1978/ConsumoCarburante/Screen2.yail
[GenerateClasses] INFO: Source File: appinventor/ai_nicolaimperati1978/ConsumoCarburante/Screen3.yail
[GenerateClasses] INFO: Libraries Classpath = /tmp/kawa17443969003331369738.jar:/tmp/acra-4.4.011340725316218331184.jar:/tmp/AndroidRuntime6982247954004037807.jar:/tmp/annotation4320996530010609190.jar:/tmp/annotation-experimental13263972340924370243.jar:/tmp/appcompat9827670428086025411.jar:/tmp/asynclayoutinflater3933933138125069410.jar:/tmp/collection6507364095834042009.jar:/tmp/constraintlayout5010138009227335544.jar:/tmp/constraintlayout-solver24573490987540948.jar:/tmp/coordinatorlayout9353330426217304653.jar:/tmp/core4887711117390668121.jar:/tmp/core-common13585042713632618346.jar:/tmp/core-runtime8430316154209446540.jar:/tmp/cursoradapter8197758955195084083.jar:/tmp/customview11025264867751732084.jar:/tmp/documentfile7795298867303554584.jar:/tmp/drawerlayout13263914171839031570.jar:/tmp/fragment16302691003879706331.jar:/tmp/interpolator4786765533727169465.jar:/tmp/legacy-support-core-ui6730413287725281897.jar:/tmp/legacy-support-core-utils5304893278611270422.jar:/tmp/lifecycle-common9153124326865780586.jar:/tmp/lifecycle-livedata5061435897941371997.jar:/tmp/lifecycle-livedata-core6712615790120447028.jar:/tmp/lifecycle-runtime9856070610991081135.jar:/tmp/lifecycle-viewmodel17696892478710019525.jar:/tmp/loader11726587797927392215.jar:/tmp/localbroadcastmanager13908842655856568326.jar:/tmp/print477661193423880482.jar:/tmp/slidingpanelayout16159619297042295764.jar:/tmp/swiperefreshlayout4289165636379995444.jar:/tmp/vectordrawable977807644854424642.jar:/tmp/vectordrawable-animated14519162939572967132.jar:/tmp/versionedparcelable1374672289073942855.jar:/tmp/viewpager17657206779066413751.jar:/tmp/1755959850058_6786482598604833792-0/youngandroidproject/../assets/external_comps/com.appybuilder.TextUtils/files/AndroidRuntime.jar:/tmp/1755959850058_6786482598604833792-0/youngandroidproject/../assets/external_comps/io.shreyash.phase/files/AndroidRuntime.jar:/tmp/recyclerview8325370536065693953.jar:/tmp/cardview2329149578647411965.jar:/tmp/dynamicanimation7418550005495665231.jar:/tmp/1755959850058_6786482598604833792-0/youngandroidproject/../build/classes:/tmp/android11615769007537828534.jar
[GenerateClasses] ERROR: Kawa compile has failed.
(compiling appinventor/ai_nicolaimperati1978/ConsumoCarburante/Screen1.yail to appinventor.ai_nicolaimperati1978.ConsumoCarburante.Screen1)
(compiling appinventor/ai_nicolaimperati1978/ConsumoCarburante/Manutenzione.yail to appinventor.ai_nicolaimperati1978.ConsumoCarburante.Manutenzione)
(compiling appinventor/ai_nicolaimperati1978/ConsumoCarburante/Consumi.yail to appinventor.ai_nicolaimperati1978.ConsumoCarburante.Consumi)

ERROR: appinventor/ai_nicolaimperati1978/ConsumoCarburante/Consumi.yail line 781: call to 'set-and-coerce-property!' has too few arguments (3; must be 4)

ERROR: appinventor/ai_nicolaimperati1978/ConsumoCarburante/Consumi.yail line 826: call to 'set-and-coerce-property!' has too few arguments (3; must be 4)

[GenerateClasses] ERROR: Can't find class file for Screen 'Consumi'
[GenerateClasses] Task errored in 3.696 seconds

It looks like on screen Consumi there is a red error in your blocks... most probably you forgot to fill a socket of a block... you should fix that error. .

Taifun

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.