Has anyone else noticed the following with Android Studio 1.4 running on OS X El Capitan?
I can't remember the exact point when I lost the ability to build an Android app from the IDE due to the fact that the extensive set of custom pre build steps that I have failed to run. Those custom steps run a Python-script, and the main problem is that gradle doesn't seem to find the Python-binary due to the fact that the PATH environment variable is the extremely sparse list of /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
.
Here are some random points related to finding this issue:
- This problem does not affect building from the terminal.
- This problem is specific to OS X, none of my Linux boxes suffer from this, nor my colleague's Windows machine suffer from this.
- This is specifically about having
PATH
set properly.
What I've tried this far:
- Editing
/etc/paths
: nope, no help. - Various
~/Library/LaunchAgent
-tips found from the net. Y'know thoselaunchctl setenv PATH ...
? No help.