Are you reusing an old sdk installation with the b4a sdk manager?
I guess yes.
Setup a new SDK.
You can find the Setup-Instructions here. https://www.b4x.com/b4a.html
You also can watch this Video as it describes it clearly.
Start with a new Blank folder like you see in the Video.