Android x86 + ADT

Source: Internet
Author: User

Google Android emulator is too slow and has no interest in development.

After trying Android x86, the running effect is still good.

1. Install

  • Virtual Box
  • Android-x86
  • See: http://androidspin.com/2011/01/24/howto-install-android-x86-2-2-in-virtualbox/

    Http://www.android-x86.org/documents/virtualboxhowto

    Note: The iso used is a android-x86-2.2-r2-eeepc.iso (officially recommended ).

     

    2.Android Development Tools(ADT) Association.

     

    Using adb with a NAT 'ed VM
    • The steps above work nicely if you have a VM which is set up to use Bridged or Host-Only adapters
    • However, if you have a NAT 'ed VM you cannot connect to the vm ip from the host
    • You will need to set up port forwarding for a host port to be forwarded to the VM port 5555 (which is adb)
      VBoxManage modifyvm<VMName>-- Natpf1 adb, tcp, *, <localport>, *, 5555
      Example from one machine:
      VBoxManage modifyvmFroyo-- Natpf1 adb, tcp, *, 5555, *, 5555
    • Once this is done, you shocould see the local port (I. e. 5555 in this case) bound on the host via netstat-
    • You can now connect to the VMAdb localhost: 5555

    See: http://www.android-x86.org/documents/debug-howto

     

    Note: This step is troublesome.

     

    Running effect:

    Android x86

     

    Eclipse ADT running

    Running Effect

     

    Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.