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