As per your instruction i had installed uiautomator in my ubuntu12.04 machine using below command.
pip install uiautomator
I had android SDK path in bashrc file also.
export ANDROID_HOME=~/adt-bundle-…
Pac-man 4.4 build from source(GT-I9300 and other Devices),when startup,it tells "Unfortunately,the process com.android.systemui has stopped.Blame Tyler"