Linux cordova can't add platform android

view story

http://stackoverflow.com – I am getting the following error: Error: The command 'android' failed, make sure you have the latest Android SDK installed, and the 'android' command (inside the tools/ folder) added to your path. But I have Android installed, my $PATH includes android, and I can type the android command in my terminal it open up the SDK manager... Any ideas? I've been at this for days, getting really frustrated here. Thanks. EDIT - here's the debug log: $ sudo cordova platform add android -d cordova library for "android" already exists. No need to download. Continuing. Checking if platform "android" pas (HowTos)