There is no way I can create a dictionary. It tells me this no matter how I try it.
In this example, I try to add a dictionary to a list upon clicking a button.
But I also tried simply having a global variable initialized as a dictionary, and it gives me errors too. I looked around and a lot of people seem to be having the same problem.
Any clues? why such a simple operation fails? I'm using the Android emulator on my Mac
the problem occurs when using the Emulator in Mac OS. I tried runing the app using the "AI Companion" in my phone, and there it works fine. seems like the Mac OS emulator has some trouble creating dictionaries...
(I googled it and saw a lot of people refering the same problem...)
Thanks for your answer, however... I am using the official Mac OS emulator from the App Inventor website. This is the official app, how can it be that I'm running into this problem? Certainly I can't be the only one using the Emulator on Mac OS...
Did you update the companion app in the emulator? It may not have a new enough version of the companion to use dictionaries. After connecting, use the Help > Update the Companion menu item to start the update process.
Hi all and thanks for the answers.
I'm using an Intel-based mac OS. I don't know how to update the companion app in the emulator. There is no "Help" menu in it