Android Question XUI Views Current declaration does not match the previous one

Alexander Stolte

Expert
Licensed User
Hello, if i add the XUI Views b4xlib, then the log says:

B4X:
Current declaration does not match the previous one
Previous {Type=Content,Rank=0, RemoteObject=False}
Current: {Type=B4XView, Rank=0, RemoteObject=True}

upload_2019-1-14_21-35-36.png


What is that?
 

walterf25

Expert
Licensed User
Hello, if i add the XUI Views b4xlib, then the log says:

B4X:
Current declaration does not match the previous one
Previous {Type=Content,Rank=0, RemoteObject=False}
Current: {Type=B4XView, Rank=0, RemoteObject=True}

View attachment 76309

What is that?
You must have a variable declared twice and with different types.

Walter
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Can you upload the project?
it is a very big project.

I'm not sure that I understand.
The error occurs, because i have a variable name double with 2 different types, but this also occurs across modules? Because i dont change anything, i only check the XUI View lib on the lib. tab and then the error message is on the log.
 
Upvote 0

asales

Well-Known Member
Licensed User
For anyone that has the similar problem.
I have a module with the name "Scale" and I get the same error:
"Current declaration does not match previous one".
B4X:
Error compiling program.
Error description: Current declaration does not match previous one.
Previous: {Type=Scale,Rank=0, RemoteObject=False}
Current: {Type=Float,Rank=0, RemoteObject=True}
Error occurred on line: 21
Private Scale As Float
So, I change the name of the module to solve the problem.
 
Upvote 0
Top