📜 ⬆️ ⬇️

A quick alternative to the Android emulator

Anyone who has experienced Android programming knows how an emulator works “quickly”. And there is no progress — on average, the higher the Android SDK version, the slower the emulator. A simple launch of the application in it is torture, and debugging ... debugging can only be described as obscene. And this is not to mention the constantly manifested problems with the launch of the emulator, which are treated only by erasing all data and restarting.
There is an unexpected solution to this issue — the Android x86 project. Currently, the maximum available OS version is 2.2.

Limitations of Android x86 (some may be bypassed, but I haven’t figured out yet):

Installation
  1. Install the latest version of VirtualBox .
  2. Download the desired iso file
  3. Create a virtual machine Linux 2.6 / Other Linux, 512 Mb RAM, Bridged Network, HD 2 Gb, Disable Mouse Integration. We connect the ISO file and load one of the LiveCD options (there is an HDPI and MDPI option).
  4. Enjoy the speed of work, and then press Alt-F1 to exit to the console and type netcfg. We remember the emulator IP address and by pressing Alt-F7 we return to the GUI.
  5. adb connect <IP >
  6. PROFIT! Our "emulator" is available from Eclipse!

Photo evidence: Android x86 debugging session

')

Source: https://habr.com/ru/post/119599/


All Articles