Android XML Preview Unclear After Update to Arctic Fox

Viewed 666

After updated to Arctic Fox version, the xml layout previewer looks fuzzy, unclear, see below:

enter image description here

enter image description here

How to fix it?

5 Answers

It helped me: Help => Edit Custom VM Options => Paste "-Dsun.java2d.uiScale.enabled=false" and restart the IDE.

For more information, click here.

Not just XML preview, the Jetpack Compose preview is also very blurry on my Macbook. I tried the old trick Help > Edit custom properties and add:

hidpi=false

But this did not work (maybe it will work on Windows, you can try). Currently I have to revert back to Android Studio 4.2.2 .

My issue is resolved when I installed the Oracle Java JDK 11 and then changed the JAVA_HOME directory from JDK1.8_xxx to latest JDK I installed and then I restarted my system Image after doing this

I has same issue and i have been used all tricks and method but preview was not showing, at last i used below code and it worked.

configurations.all {
    resolutionStrategy {
        force 'androidx.core:core-ktx:1.6.0'
    }
}

Now the latest version (BumbleBee) fixed this problem.

Related