Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix preview tab bug in Android Studio Arctic Fox

I update my android studio version to Arctic Fox. But after update of Android Studio to this version, it shows blurry items in preview tab.

My preview tab image:

enter image description here

I used windows 10 for OS.

How can I fix it?

like image 345
Miss. Ellen Avatar asked Jul 30 '21 08:07

Miss. Ellen


People also ask

How do I update arctic fox in Android Studio?

Android Studio - Arctic Fox | 2020.3. 1 Patch 4 is now available in the Stable channel. If you already have an Android Studio build on the Stable channel, you can get the update by clicking Help > Check for Update (Android Studio > Check for Updates on macOS). Otherwise, you can download it here.

Why my android Studio is not opening?

If Studio doesn't start after an upgrade, the problem may be due to an invalid Android Studio configuration imported from a previous version of Android Studio or an incompatible plugin.


2 Answers

Short Answer: Downgrade to Android Studio 4.2.2.

Android Studio Arctic Fox - made major changes. However, it created new issues that didn't exist. It needs a patch. I even tried the latest patch of Android Studio Arctic Fox (2020.3.1) Patch 1 - August/18, It didn't solve it. So, I had to downgrade to Android Studio 4.2.2, which is relatively more stable.

When downgrading to Android Studio 4.2.2, you have to change the following

  • distributionUrl in graddle-wrapper.properties

distributionUrl=https://services.gradle.org/distributions/gradle-6.7.1-bin.zip

  • classpath in build.gradle (Project)

classpath "com.android.tools.build:gradle:4.2.2"

like image 192
Aman Avatar answered Oct 22 '22 05:10

Aman


This Same Happened to me and unfortunately, there is no perfect fix. It is due to scaling according to your device display size. Android Studio currently supports Display Scaling of 100% , 200% etc. So if your device have 150% scaling, this error occurs...

You can temporarily fix it by the following way, but you have to adjust your font size accordingly. Open Android Studio > Help > Edit custom properties > If one is not already there, you will be prompted to create one. Then enter the following :

hidpi=false

Then press enter and close Android Studio (Restart it). Then you can see everything in a small size, but the preview tab will be fixed. Then Go to Settings and adjust font size of your choice (On both editor and whole IDE). This is only a temporary solution. And many others are facing this same issue after the updates including old versions of Android Studio.

You can also try changing scaling from Windows Settings (You should set scaling to 100%), but it will affect your Entire OS

like image 22
Jeswin Joji Avatar answered Oct 22 '22 04:10

Jeswin Joji