Update to android gradle tool 0.12.2 and cleanup activity

Signed-off-by: Kevin Liu <airk908@gmail.com>