43

After updating to Android Studio Arctic Fox, I cannot choose any of my installed themes. Invalid cache and restart didn't help ;) Also reinstalling themes still not solving this problem.

I updated AS 4.2 to Arctic Fox using Toolbox on the stable channel. I'm on win 10.

Maybe someone has an idea how to solve this issue?

What I can choose:

enter image description here

What I have installed:

enter image description here

Nikunj Paradva
  • 15,332
  • 5
  • 54
  • 65
Krystian Kaniowski
  • 1,959
  • 17
  • 33
  • I have the same problem, so I tried installing the light theme manually. [It just shows this error.](https://i.imgur.com/kGorV8I.png) I guess we have to wait for it to be updated? – A_Jayke Jul 29 '21 at 11:38
  • I was using canary and then beta version of AS Arctic Fox on other instances and hadn't such a problem. And cyan and purple are under the JetBrains brand.. Finger cross – Krystian Kaniowski Jul 29 '21 at 12:00
  • Here is the Solution https://stackoverflow.com/a/68599712/5773037 – Nikunj Paradva Jul 31 '21 at 06:55
  • Was fixed in **Arctic Fox 2020.3.1 Patch 1** – m3r1v3 Aug 19 '21 at 18:53

6 Answers6

53

Follow Simple Steps to Fix this

  1. Rename the {path-of-android-studio}/lib/gson-2.7.jar file to gson-2.7.jar.disabled.
  2. Restart Studio.

where {path-of-android-studio} is by default C:\Program Files\Android\Android Studio on Windows and /Applications/Android Studio.app/Contents on Mac.


The fix will be included in the next minor release of the 2020.3.1 Arctic Fox.

Found From issue-tracker

Yashwardhan Pauranik
  • 5,370
  • 5
  • 42
  • 65
Nikunj Paradva
  • 15,332
  • 5
  • 54
  • 65
3

The bug still persists in release 2020.3.1 as highlighted here.

Renaming the gson-2.7.jar file works like a charm.

kasre
  • 59
  • 3
0

The issue is fixed and will be included in the next minor release.

Moisoni Ioan
  • 1,370
  • 1
  • 13
  • 24
0

The issue still has not been fixed in 2020.3.1 Arctic Fox :(. For people using linux, If you have installed the flatpak version of android studio you can find the file in the below directory,

/home/void/.local/share/flatpak/app/com.google.AndroidStudio/x86_64/stable/945347e3ed941b868f366b6dc46cf294cafec69f21dbcb10d3fc4e69620315a4/files/extra/android-studio/lib

you don't have to go all the way to the end. Once you get to /home/void/.local/share/flatpak/app/com.google.AndroidStudio

search "gson" and the right file will come up in a second.

Unfortunately for people who used snap package to install (i honestly don't why still people use snap packages) there is no way to edit the file.

rama-void
  • 73
  • 5
0

I had this issue even in 2020.3.1, I resolved this issue by simply deleting all the contents in .idea folder from my project. And updated my project kotlin version to 1.5.0.

Muhamed Riyas M
  • 5,055
  • 3
  • 30
  • 31
0

For Arctic Fox 2020.3.1:

Check for new updates and update. It will be updated to 2020.3.1 Patch 1 it will solve the issue.

adwardwo1f
  • 817
  • 6
  • 18