Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
165 views
in Technique[技术] by (71.8m points)

nosuchfieldexception - Android Studio crashed and not opening

I was coding a project while importing the material design dependency when Android Studio crashed. I tried reopening it, but I got this error:

Internal error. Please refer to https://code.google.com/p/android/issues

java.lang.NoSuchFieldError: useDualStackImpl
    at java.net.PlainSocketImpl.<clinit>(PlainSocketImpl.java:55)
    at java.net.Socket.setImpl(Socket.java:521)
    at java.net.Socket.<init>(Socket.java:442)
    at java.net.Socket.<init>(Socket.java:262)
    at com.intellij.idea.SocketLock.tryActivate(SocketLock.java:271)
    at com.intellij.idea.SocketLock.lockAndTryActivate(SocketLock.java:167)
    at com.intellij.idea.StartupUtil.lockSystemDirs(StartupUtil.java:553)
    at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:213)
    at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:47)
    at java.lang.Thread.run(Thread.java:748)

-----
JRE 1.8.0_242-release-1644-b01 amd64 by JetBrains s.r.o
C:Program FilesAndroid StudioInstallationjrejre

What I was doing at that time: (In my build.gradle)

implementation 'com.google.android.material:material:+'

https://imgur.com/a/fadt2Di

question from:https://stackoverflow.com/questions/65842473/android-studio-crashed-and-not-opening

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...