Use ApkBuilder class instead of the deprecated apkbuilder binary
Update to SDK Build-tools 17 revision