Games Unknown type B4XMainPage error when loading any game examples

Andrew Gray

Member
Licensed User
Longtime User
When I try to load and run any of the X2 Games examples, in either B4A or B4J, I get a bunch of errors. Most go away if I add the B4XPages library (though it seems strange that I have to do this manually) but I'm stuck with:

Unknown type: B4XMainPage
Are you missing a library reference?


A clean reinstall of the latest version doesn't help. What am I missing?
 

DonManfred

Expert
Licensed User
Longtime User
Looks like the examples are updated to use B4XPages
 

Andrew Gray

Member
Licensed User
Longtime User
Yes, the latest version of everything (I just downloaded again from the link above to make sure).

I don't understand where this warning is coming from. When I search there is no reference to b4xmainpage in the code modules.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User

Andrew Gray

Member
Licensed User
Longtime User
My mistake. Sorry.

Use this link: https://github.com/AnywhereSoftware/X2/archive/refs/heads/main.zip


Works perfectly now. Thanks Erel.

My 4 year old son and I are going to have some fun with this 🙂
 
Top