[build] updating android-tools version; adding shell script to wait for emulator (for travis-ci); fixing context bug in RouterTest