[JBIDE-14544] check for android target

Selects the most recent target available that is newer than a certain
API level.