Several issues with Android development under Mac configuration

Source: Internet
Author: User
Tags android sdk manager

Today, under OS X Yosemite (version 10.10), the Android-based development environment is deployed under Google Android documents.

First go to http://developer.android.com/sdk/index.html to download ADT Budle, now the latest version of November 2, 2014 is adt-bundle-mac-x86_64-20140702.zip, This is a Google-recommended version of Eclipse plus an initial package for the SDK. After downloading, unzip to get a folder adt-bundle-mac-x86_64-20140702, drag this file directly into the application.

After entering the folder, go to eclipse-"point Eclipse.app to open eclipse, then go to the Windows->android SDK Manager in the menu bar to open the SDK Manager and select the SDK version you want to download."

What needs to be said is that I'm following the Intel x86 Atom System Image on the tip of the instructor at the Geek College, and then I need to download and install the Intel x86 Emulator Accelerator (HAXM installer). The HAXM listed in Google's Android SDK manager may not be the latest version, and as the OS X version is upgraded, Intel will release the corresponding version of HAXM, such as the HAXM that corresponds to my current OS X Yosemite (version 10.10)

Intel®hardware Accelerated Execution Manager

Fri, Oct 24, 2014

Https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

Install HAXM time to pay attention to its allocated memory, Stakeoverflow recommended if it is 1024M, remember this number, a moment to create the Android emulator is also recommended to set the Ram 1024M.

Then download the Android SDK problem, if there is no VPN is likely to download slowly, and do not see the full list of SDK files (such as the need to download the Intel x86 Emulator Accelerator), here can be used to temporarily modify the hosts table method, Now the available Google host table can refer to Http://www.360kb.com/kb/2_122.html,Mac modify the Hosts table method is to use the terminal to open vim, run

sudo vi/etc/hosts.

Another problem is that after downloading and installing the Android SDK, it's possible that even if all of the files and the system image files for that version are downloaded and installed, the Android version of the emulator will be prompted when you create it:

No Cpu/abi system image available for this target

At this point if you have tried a lot of other solutions (SOF on the various recommended installation arm image, etc.), then recommend a my solution-restart your Mac ...

Several issues with Android development under Mac configuration

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.