Android Question SOLVED - B4XTable errors

Robert Valentino

Well-Known Member
Licensed User
Longtime User
I have a B4XTable working in the example but as soon as I add the B4XTable library to a old project I get the following errors:

I haven't even tried to do anything with B4XTable just added to the libraries

B4X:
Syntax error.
Unknown member: height
Unknown member: height
Unknown member: height
Unknown member: color
Unknown member: color
Unknown member: addview
Unknown member: tag
Current declaration does not match previous one.<br />Previous: {Type=Background,Rank=0, RemoteObject=False}<br />Current: {Type=B4XView,Rank=0, RemoteObject=True}
Unknown member: width
Unknown member: setlayoutanimated
Unknown member: height
Unknown member: isinitialized
Current declaration does not match previous one.<br />Previous: {Type=Background,Rank=0, RemoteObject=False}<br />Current: {Type=B4XView,Rank=0, RemoteObject=True}
File 'Thumbs.db' in Files folder was not added to the Files tab.
You should either delete it or add it to the project.
You can choose Tools - Clean unused files. (warning #14)

I am guessing one of these libraries is out of date or has something that is interfering but not sure which one:

 

Jorge M A

Well-Known Member
Licensed User
Longtime User
Are you using the Visual Designer?
Try removing it from the layout and reinserting it.
 
Upvote 0

Jorge M A

Well-Known Member
Licensed User
Longtime User
Try removing it from the layout and reinserting it. The properties has changed in new library.
Or in case, remove the old B4XTable module.
Please provide more info in how your project is constructed and what code are using.
 
Upvote 0

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Just upgraded to 2.24.

No change.

I've gone through all my screens (bal files) and none of them are loading a customview or a b4xtable.

Must be in some library I am using.
 
Upvote 0

Robert Valentino

Well-Known Member
Licensed User
Longtime User
BINGO, pay that gentleman. I have/had a service called Background (just renamed it to sBackground and all references) and that fixed the problem.

Normally I name all my services little s<some name> and all my code modules little c<some name> to avoid clashing with anything else.
Never did that with this one.

Thanks - You provide the greatest support
 
Upvote 0

AnandGupta

Expert
Licensed User
Longtime User
Might be related to a conflict with one of your modules. Do you have a module named Background?
Can we have some sort of warning here in ide?
This may help in debugging faster.

I am ready to make a wish if required.

Regards,

Anand
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…