Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android studio Android Studio字体模糊_Android Studio - Fatal编程技术网

Android studio Android Studio字体模糊

Android studio Android Studio字体模糊,android-studio,Android Studio,我在我的mac电脑上安装了Android Studio和Intellij,但是Intellij上的字体看起来不错,但是Android Studio看起来很模糊,尝试了很多设置,重新安装仍然不起作用,有人面临同样的问题吗 这是因为Oracle JDK7/8没有像Apple JDK 6那样的亚像素反别名 你可以 1) 安装Apple JDK,如下链接所示: 2) 或者,由于安装了AppCode/IntelliJ,它们与修改后的OpenJDK捆绑在一起,修复了亚像素反别名问题 您可以在终端中执行此操

我在我的mac电脑上安装了Android Studio和Intellij,但是Intellij上的字体看起来不错,但是Android Studio看起来很模糊,尝试了很多设置,重新安装仍然不起作用,有人面临同样的问题吗

这是因为Oracle JDK7/8没有像Apple JDK 6那样的亚像素反别名

你可以

1) 安装Apple JDK,如下链接所示:

2) 或者,由于安装了AppCode/IntelliJ,它们与修改后的OpenJDK捆绑在一起,修复了亚像素反别名问题

您可以在终端中执行此操作:

export STUDIO_JDK="/Applications/IntelliJ IDEA 15 EAP.app/Contents/jre/jdk/"
open /Applications/Android\ Studio.app
Android Studio将使用与IntelliJ捆绑的JDK

3) 如果不想每次都打开终端,只需将STUDIO_JDK设置为用户的环境变量即可

将此文件studio_jdk.plist放在~/Library/LaunchAgents下:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  <plist version="1.0">
  <dict>
  <key>Label</key>
  <string>setenv.STUDIO_JDK</string>
  <key>ProgramArguments</key>
  <array>
    <string>/bin/launchctl</string>
    <string>setenv</string>
    <string>STUDIO_JDK</string>
    <string>/Applications/IntelliJ\ IDEA\ 15\ EAP.app/Contents/jre/jdk/</string>
  </array>
  <key>RunAtLoad</key>
  <true/>
  <key>ServiceIPC</key>
  <false/>
</dict>
</plist>

标签
setenv.STUDIO_JDK
程序参数
/bin/launchctl
环境变量
JDK工作室
/Applications/IntelliJ\IDEA\15\EAP.app/Contents/jre/jdk/
运行负荷
服务IPC
注销和登录,应该可以工作