Sub Class_Globals
Private Root As B4XView
Private xui As XUI
End Sub
Public Sub Initialize
' B4XPages.GetManager.LogEvents = True
End Sub
'This event will be called once, before the page becomes visible.
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("MainPage")
Dim s As String = "A3"
Log("La stringa impostata è: " & s)
End Sub
Sei sicuro di non dichiarare anche una variabile di tipo INT (o altra Numerica) che si chiama sempre "s" prima di quella?
Servirebbe vedere tutto il tuo codice se possibile per aiutarti meglio.
Sub Class_Globals
Private Root As B4XView
Private xui As XUI
End Sub
Public Sub Initialize
' B4XPages.GetManager.LogEvents = True
End Sub
'This event will be called once, before the page becomes visible.
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("MainPage")
Dim s As String = "A3"
Log("La stringa impostata è: " & s)
End Sub
Ho visto un'altra discussione con un errore praticamente identico al tuo.
Prova ad aprire i file di Layout con il Designer e risalvarli.
Se mi dici che non hai file di Layout da risalvare allora poi non sò cosa dirti. ? ?