Android Emulator Tips

Android Emulator Tips

E28404a128b6014e6f499d2a967c72a0?s=128

Takuji Nishibayashi

January 27, 2016
Tweet

Transcript

  1. Android Emulator Tips @takuji31

  2. @takuji31 (Takuji Nishibayashi)

  3. None
  4. (AVG 130 -> 160)

  5. Kotlin

  6. Android Emulator Tips

  7. ※ not Genymotion

  8. Needs to access web server on host machine

  9. Access 10.0.2.2

  10. Needs emulate network state

  11. Use -netspeed and -netdelay options

  12. Use -netspeed and -netdelay options # set network speed $

    emulator -netspeed gsm # full network speed $ emulator -netspeed full # set network delay $ emulator -netdelay edge # no delay $ emulator -netdelay none
  13. Use emulator console

  14. Use emulator console $ telnet localhost <port> # set network

    speed > network speed gsm # set network delay > network delay edge
  15. Emulator is too slow

  16. Use HAXM

  17. run $SDK_ROOT/extras/intel/ Hardware_Accelerated_Execution_Manager/ slient_install.sh

  18. x86 / x86_64 architecture only

  19. Use emulator with Jenkins

  20. Use Android Emulator plugin

  21. But …

  22. None
  23. Not work with latest Android SDK tools

  24. More tips

  25. see. http://developer.android.com/intl/ja/tools/ devices/emulator.html

  26. Emulator is too slow yet!

  27. Use Genymotion!

  28. Enjoy Android emulator life!