0
I installed cordova on IntelliJ IDEA and i can run it using the command generated from IntelliJ in my case this is cordova run --target=177b9d89 android
, but when IntelliJ itself executes it I get these messages:
Failed to find 'ANDROID_HOME' environment variable. Try 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.
After some searching I found to try to run IntelliJ via command line and it worked. I changed my shortcut to the exact command, but it didn't work.
Does anyone a way to get around this.