updated android initialization