Sounds like you are using an old and outdated SDK.
Reinstall B4A and the SDK.
Follow the installationinstructions carefully.
B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others.
www.b4x.com
Reference: