Automatically getting android's sdk root path and api version.