如果报错 :
build/core/config.mk:648: *** Error: could not find jdk tools.jar at /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/../lib/tools.jar, please check if your JDK was installed correctly. Stop.
解决办法:
export ANDROID_JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
报错:
我在 JetBrains 全家桶上又遇到了 Case Sensitive 文件系统带来的问题.
解决办法
去给 IDEA 加个启动参数就好了。在 /Applications/IntelliJ[IDEA.app/Contents/bin/idea.properties](http://idea.app/Contents/bin/idea.properties)
里追加 idea.case.sensitive.fs=true
即可。