如果報(bào)錯(cuò) :
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)
報(bào)錯(cuò):
我在 JetBrains 全家桶上又遇到了 Case Sensitive 文件系統(tǒng)帶來的問題.
解決辦法
去給 IDEA 加個(gè)啟動(dòng)參數(shù)就好了。在 /Applications/IntelliJ[IDEA.app/Contents/bin/idea.properties](http://idea.app/Contents/bin/idea.properties)
里追加 idea.case.sensitive.fs=true
即可。