hi!
i have a game on Desktop. it’s working. i did the job to make it work on iOS. worked just fine. i did the same on Android, but i’m stuck on this error and i don’t know what / where to fix…
(Class: c_game) type mismatch: actual type ay<xojoarray<Boolean»>’ was expected.
all help will be great!
Alex
Very vague question/example
could you maybe show more code or best upload sample project showing the error?
i can’t upload the project, sorry. and this is the only message error i got. it’s frustrating read this error and can’t do anything about to fix!
How can anyone help if you don’t show any code or IDE screenshot?
Martin_T
(Martin T)
October 17, 2026, 4:57pm
5
Which Xojo version do you use? Create a private issue if you can’t share your project in public.
Why ask in public if we cannot help with supplied code/project/screenshots?
MarkusR
(MarkusR)
October 17, 2026, 7:53pm
7
Alexandre Cunha:
was expected.
a compiler error?
differentiate boolean and Boolean
maybe a typo
i’m creating a version only with the minimal code to publish here.
Archive.zip (11.8 KB)
desktop and ios works
android don’t
Version 2026 Release 2.1
MacOS Golden Gate 27.0.1
android fixed.
this seems a bug in xojo android compiler
a 2d boolean array is returned as xojoarray<Boolean> in kotlin
worth reporting an issue.
exampleAndroid.zip (7.7 KB)
hi. i’m sorry, but where exaclty was the bug?
where / how did you do to fix?
another error… maybe the same bug…
Android Compiler
(Class: c_game) type mismatch: actual type is ‘xojoarray’, but ‘xojonumber’ was expected.
Martin_T
(Martin T)
October 18, 2026, 1:33am
14
@Alexandre_Cunha - Please create issues!
yep seems the android compiler has problems with arrays and more specifically 2d arrays
Android Compiler
(Class: globals) type mismatch: actual type is ‘xojovariant’, but ‘picture’ was expected.
i’m not sure exaclty how to describe the error, but i’ll try.
Martin_T
(Martin T)
October 18, 2026, 12:34pm
18
Just create a private issue and add your project. The engineers should be able to track down.
no, i can’t send my project, but i’m creating the issue.
the small project you sent earlier and that i fixed should be enough