The apkbuilder command line tool is deprecated, and is not maintained anymore.
It is lacking recent build improvements such as support for Library Projects.

Its source code has been moved into sdklib.
It is recommended to directly use the com.android.sdklib.build.ApkBuilder class instead.