如果報錯 :
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
即可。