Android releated commands - platform add, prepare, build and platform list

This check can be done on the 2nd line of this method.