After updated to Arctic Fox version, the xml layout previewer looks fuzzy, unclear, see below:
How to fix it?
5
Now the latest version (BumbleBee) fixed this problem.
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
It helped me: Help => Edit Custom VM Options => Paste "-Dsun.java2d.uiScale.enabled=false" and restart the IDE.
For more information, click here.
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' } }
Click here to cancel reply.
5
Answers
Now the latest version (BumbleBee) fixed this problem.
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
It helped me: Help => Edit Custom VM Options => Paste "-Dsun.java2d.uiScale.enabled=false" and restart the IDE.
For more information, click here.
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.