OSX 10.10.5 compiling android 5.1.1 Source code

Source: Internet
Author: User

1, pro-test the available environment:

System: OSX 10.10.5

jdk:1.7

xcode:5.1.1 (comes with Xcode 6 in the compilation process, the string header file can not find the error, no solution, change to Xcode 5.1.1 Problem resolution)

Command Line tools:5.1.1

2, the problem encountered during:

①, MacPorts download down installation has been stuck in the installation interface does not move:

It is not clear why, see some say is update problem, finally replaced with homebrew, fast, very good (*^__^*)

②, make finished source code, emulator prompt command not found:

To configure emulator environment variables:

Export PATH=/VOLUMES/[DMG title]/android/prebuilts/android-emulator/darwin-x86_64

③, in order to start, do not need to enter a bunch of emulator after the parameters, increase the environment variable settings:

Export ANDROID_PRODUCT_OUT=/VOLUMES/[DMG Title]/android/out/target/product/generic

④, emulator the emulator is not found, increase the environment variable settings:

Export Android_build_top=/volumes/[volumes]/android

⑤, emulator prompt partition too small warning, add parameters at run time:

Emulator-partition-size 2048

OSX 10.10.5 compiling android 5.1.1 Source code

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.