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

This check should be the first one to do in this function.