[TIMOB-14973] Updated the Android build options and validation.
[TIMOB-14973] Moved Android enviroment detection from config() to validate(). Fixed a bug with how the --device option are handled.
[TIMOB-14973] Fixed missing comma in the iOS package.json.
Merge pull request #4658 from cb1kenobi/timob-14973

[TIMOB-14973] Updated the Android build options and validation.