I\'m developing android on Mac OS.
In the first time, I use android tool command (/tools/android) to launch Android SDK and
I've solved. You are not in java perspective. Open going to Window -> Open Perspective -> Java.