I'm using android studio on a 4k screen and my problem is all icons and fonts are small.

I fixing fonts problem by changing their size to 36 but still icons are really tiny.

I've just seen from this link that there is a high dpi support in intellij idea since 13.1:

Support Windows/Linux HiDPI devices via -Dis.hidpi=true

I added this line -Dis.hidpi=true to studio64.vmoptions and studio.vmoptions files but nothing happen. Also there is a trick for Windows by "Disable display scaling on high DPI settings" but i'm using Linux (Fedora 22). Any ideas?


This is known issue, fixed but not for everyone.

You need change ANDROID_STUDIO_HOME/lib/util.jar file to this patch jar for fixing icons. For more details read this comment. Hope it help you.

  • After replacing util.jar I got java.lang.NoSuchMethodError: com.intellij.util.lang.UrlClassLoader$Builder.usePersistentClasspathIndexForLocalClassDirectories()Lcom/intellij/util/lang/UrlClassLoader$Builder; this exception when i want to execute idea.sh – Saeed Masoumi May 25 '15 at 14:43
  • @Saeed What are your OS ? – Anton Dozortsev May 25 '15 at 15:11
  • Fedora 22 .64bit – Saeed Masoumi May 25 '15 at 16:05
  • @Saeed If you under JDK 7 and it still doesn't work. I have no idea. – Anton Dozortsev May 25 '15 at 16:14
  • I'm on JDK 8 latest version i also switch to JDK 7 and same problem appears and also switch to OpenJDK 8 & 7 and again same problem appears – Saeed Masoumi May 25 '15 at 16:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.