Android Studio 2.3 Error:Unable to load class 'com.google.common.collect.ImmutableSet'

谁都会走 提交于 2019-12-10 11:44:18

问题


Everybody!

Suddenly, when I opened my exists project I'd got error:

Error:Unable to load class 'com.google.common.collect.ImmutableSet'. Possible causes for this unexpected error include:

  • Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network)
  • The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem. Stop Gradle build processes (requires restart)
  • Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

I have not third-party plugin and library otherwise standard.

I tried redownload dependencies, rerun Gradle, reinstall Android Studio 2.3 and Android SDK (downloaded last version), but I've got the same message in my project on in each new simple project in Android Studio.

Screenshot of new simple project in Android Studio

I have Windows 10 with last update.

Please, help!

来源:https://stackoverflow.com/questions/43123268/android-studio-2-3-errorunable-to-load-class-com-google-common-collect-immutab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!