I guess that you are using the beta version. You need to update your build tools. Download a new Android SDK as explained here: https://www.b4x.com/b4a.html
This error cannot happen if the SDK is configured properly. Delete your current SDK and carefully follow the instructions: https://www.b4x.com/b4a.html