When platform add android encounters a problem, it leaves the platforms/android directory populated with some files. After that, all other commands consider that android platform exists and fail randomly with cryptic messages.
We need to implement a rollback in case the creation fails.
An easy way to reproduce is to use the default Java 1.6 on Mac OS.