[F/OS] - Dynamic Components Extension (for every component) 2.3.0

Why is this code getting this error? Component is invalid.

Since you’re working in AppInventor, it will be helpful to ask in AppInventor community :folded_hands:

Okay I was hoping because it was a kodular extension you guys could help but alright.

What are you trying to archive? Because your current blocks missed few things, you’re setting property with long values, also that component doesn’t exist in your code, have you tried reading this whole topic?

I changed the code a bit and got a different error. com.google.appinventor.components.runtime.button. The code doesn’t change for the extension, its the same extension here is my code but updated.

Wrong component name, it should be only name and you have added id too.

Create in (container)
Compoment name -(Button)
Id - button + alphanumeric

Component name must be start with capital letter

yeah I figured it out it was because I said, “button” instead of “Button”. How can I track, if a dynamically created button is clicked?

Go to any component, and use when any button clicked

Oh okay thank you

This code is saying the id is nothing.



The gray box is the show message of the id

Show your full code again

Okay

Yes it will throw because you have used wromg block.

Get component you have used instead of Get Id block

What? This doesn’t make sense.

image

got it thanks