Error loading layout

vinny

Member
Licensed User
Longtime User
Hello all,
I'm rather new but I'm having alot of fun with b4a.
I had an activity working well, I don't know what I did but now it stops on the line where thee layout is loaded. Here is the error:

Error Occured
An error has occured in sub:
main_activity_create(B4A line:
36)
Activity.
LoadLayout("laurussupport1")
java.lang.RuntimeException:
Field setings was declared with
the wrong type.
Continue?


I hope one of you experts out there know what's going on. Thanks in advance.

Vince
 

vinny

Member
Licensed User
Longtime User
Problem solved. I wanted the button's text to read 'Settings' but I named the buttton 'settings'. I should have set the button's text property to 'settings' instead.
 
Upvote 0
Top