skip to Main Content

Android studio version

Android Studio Dolphin | 2021.3.1 Patch 1

Build #AI-213.7172.25.2113.9123335, built on September 30, 2022

Runtime version: 11.0.13+0-b1751.21-8125866 amd64

enter image description here
There are even not showing any message, what the…?

Event log
enter image description here

I have tried

After Update my Android Studio (Dolphin | 2021.3.1), XML Layout Preview Can't showing

Android Studio Dolphin | 2021.3.1 does not show layout preview

invalidated and restarted caches

but not working.Has anyone encountered it?

How to solve it? Any help will be appreciate.

3

Answers


  1. The editor is probably unable to load the custom theme file.

    First try to fix issues in your app theme file.
    (For me it was an empty item tag of fontFamily)

    If unsuccessful, just select a different theme from the top toolbar menu of the designer.

    Gradle is also a likely culprit so make sure that your gradle version is 7.4 and AGP is 7.3

    enter image description here

    Login or Signup to reply.
  2. I had the same problem. I think it was a bug in Android Studio.
    The only solution that worked for me was downgrading the Android Studio to Chipmunk (2021.2.1 Patch 2). You can find it here: https://developer.android.com/studio/archive

    When installing another Android Studio, do not forget to uninstall the previous version. (You will have the option when the setup will be shown).

    Thanks for the original answer to: https://stackoverflow.com/a/74903373/17596747

    Login or Signup to reply.
  3. As of today, I have a new version of Android Studio available i.e Android Studio Flamingo | 2022.2.1 after updating to this version above issue has been resolved.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search