How do I run a binary program without showing the gear icon?
You will always see the gear in the menu bar if you are using Automator. If you want it to exit quickly, create a wrapper that forks off your android script into another process, and exits.

For example, you could run 


  echo "/Users/xxx/Library/Android/sdk/tools/android avd" | /usr/bin/at now


(source for script is from this Apple Discussions page near the bottom)