Use 10.0.2.2 instead of localhost for emulator