Android Question XUI Views 2.46 error when adding to project

TimN

Member
Licensed User
Longtime User
Problem Adding XUI Views to Project.

Upon adding library "XUI Views" Version 2.46 The following errors show in the log.
Code: Copy
Unknown member: add
Unknown member: initialize
Current declaration does not match previous one.<br />Previous: {Type=Items,Rank=0, RemoteObject=False}<br />Current: {Type=List,Rank=0, RemoteObject=True}
Current declaration does not match previous one.<br />Previous: {Type=Items,Rank=0, RemoteObject=False}<br />Current: {Type=String,Rank=0, RemoteObject=True}

Removing the library removes the errors.

Current on Version 10.7 of B4A.

Any help on understanding why?

Thanks
 
The library conflicts with something you already have in your code.
Perhaps you have declared a variable that has the same name as an existing variable in XUI Views.
Or you have a library with a class that has the same name as a class contained in XUI Views
 
Upvote 0
I have searched my code and do not have variables declared as "items". Could it be that they exist in 2 different Libraries?
 
Upvote 0
Some times it's difficult to know without seeing the code so...
Brute force... have you tried to comment all your variables to see if this messages dissappear?
If so, uncomment by groups...
 
Upvote 0
WOW.... I found it. I have an Activity module named "Items" Once I changed this everything was fine.

Wish I understood how to stay away from name collisions.
 
Upvote 0
Back
Top