I have got Intelli J IDEA Ultimate, Node.js and PhoneGap/Cordova plugins are Installed.
I created a project with PhoneGap/Cordova plugin then I tried to run project with Intelli J IDEA but that gives this error:
/usr/local/bin/phonegap run --emulator android
[phonegap] executing 'cordova run --emulator android ' ...
Error: Failed to find 'ANDROID_HOME' environment variable. Try setting setting it manually.
Detected 'adb' command at /usr/bin but no 'platform-tools' directory found near.
Try reinstall Android SDK or update your PATH to include valid path to SDK/platform-tools directory.