I want to use adb command in a MAC app
I am able to use adb commands in Terminal, in my Shell Scripts as well.
I am able to use the same in the Services that I create with Automator, even in Applescripts.
I am unable to use the adb command ONLY in any APP that I create using Automator. My App has a workflow that runs shell script. I am unable to use adb devices or adb for that matter, in the script; says Unexpected Error
Is it about adding a permanent reference to adb in $PATH. I am only doing it in a bash_rc file, which explains why the shell scripts (or things that open Terminal) run successfully – as they always call bash_rc first
If so, what is the way to do it?
I did the following and it solved the problem: