Android Studio - "Could not initialize class com.android.repository.api.RepoManager"

Search This thread

senglory

New member
Oct 15, 2016
2
0
Android Studio - "Could not initialize class com.android.repository.api.RepoManager"

Hi,

I ran my Android Studio v 3.4.2 after long period of not using it and faced the following error right upon each attempt to load a project -

Could not initialize class com.android.repository.api.RepoManager

JRE 1.8.0_152-release-1343-b01 amd64
JVM: OpenJDK 64-Bit

How can I have it fixed?