android studio Re-download depen

2018-03-23  本文已影响91人  幻化万千戏红尘

Possible causes for this unexpected error include:

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.  


    偶然重新打开项目就报上面的错误,根据百度一些答案没有解决,就照着旧项目改缺少的东西。。。

    把缺少gradle文件夹补上,再把项目各个地方的

    com.android.tools.build:gradle:2.3.2

    修改一致即可

    重新编译完事。。。这应该只是一种情况的解决方法,其它的引起的未知....

    上一篇下一篇

    猜你喜欢

    热点阅读