1. command + , 查看源码是否存在,没有就安装
![](https://img.haomeiwen.com/i2894274/c7c96820d677be98.png)
2. 打开终端找到对应源码的路径,这里以android-24为例
find ~ -iname "android-24"
![](https://img.haomeiwen.com/i2894274/17389d7e4c837f46.png)
3. 找到jdk.table.xml文件
find ~ -iname "jdk.table.xml"
![](https://img.haomeiwen.com/i2894274/9693736c831020aa.png)
4. 打开jdk.table.xml文件,加上以下路径就ok了
open /Users/zx/Library/Preferences/AndroidStudio3.2/options/jdk.table.xml
![](https://img.haomeiwen.com/i2894274/74fbd71926edde76.png)
网友评论