In time of setting up AndroidSDK I do not know in advance whether some emulator or device is already running. I am throwing an exception only in case there are not any targets and user has not set up serialId invoking he is about to connect physical device, in such case, no targets nor platforms are needed to be present on the system.