Error building Player: ArgumentException: An empty file name is not valid. (Mac OS X)

Build for Android fails on Mac OS X with JDK 1.6. On Windows 7 it’s OK with the similar version of JDK. Any ideas how to fix it?

possible solution: you do not have the platforms/packages installed?

basically run ] ./android sdk in Termainal on your Mac

install the old one (probably 2.2) and a new one (probably 4.2)