Use spawn/expect to accept the android license agreements

Changes in android sdk makes the old `echo y | ...` format not work
anymore. Thanks @gildegoma for the new trick :v:
Update android tools