So then I go a lot more errors....I decided to start a new project, and now the error is
B4A Version: 12.80
Parsing code. (0.03s)
Java Version: 8
Building folders structure. (0.42s)
Running custom action. (0.05s)
Compiling code. (0.49s)
Compiling layouts code. (0.06s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Compiling resources (0.10s)
Linking resources (0.30s)
Compiling debugger engine code. Error
B4A line: 11
Private activity As Activity
shell\src\b4a\tester\b4xmainpage_subs_0.java:58: error: cannot find symbol
b4xmainpage._activity = RemoteObject.createNew ("anywheresoftware.b4a.objects.ActivityWrapper");__ref.setField("_activity",b4xmainpage._activity);
^
symbol: variable _activity
location: class b4xmainpage
1 error
only showing the first 1 errors, of 2 total; use -Xmaxerrs if you would like to see more
".b4xmainpage._activity" is, I assume, generated by B4A but I can't see it:
#Region Shared Files
#CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files"
'Ctrl + click to sync files: ide://run?file=%WINDIR%\System32\Robocopy.exe&args=..\..\Shared+Files&args=..\Files&FilesSync=True
#End Region
'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip
Sub Class_Globals
Private Root As B4XView
Private xui As XUI
Private activity As Activity
Private Button1 As B4XView
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("main")
End Sub
'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage.
Private Sub Button1_Click
xui.MsgboxAsync("Hello world!", "B4X")
End Sub