Android Studio의 새 버전 3으로 처음부터 새 프로젝트를 시작했습니다. 모든 것은 그것이 프로젝트를 만들 때까지 작동합니다. 그런 다음이 오류 메시지가 표시됩니다.Gradle 빌드가 새로운 Gradle 3.0.0 및 Android Studio 3에서 실패합니다. '
Error:Unable to find method 'org.gradle.tooling.model.gradle.GradleBuild.getIncludedBuilds()Lorg/gradle/tooling/model/DomainObjectSet;'.
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
<a href="syncProject">Re-download dependencies and sync project (requires network)</a></li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
<a href="stopGradleDaemons">Stop Gradle build processes (requires restart)</a></li><li>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.</li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
두 가지 해결책 중 하나를 클릭해도 다시 실패하지 않습니다. 나는 심지어 쓸데없는 나의 gradle 홈 폴더를 비웠다. 왜 이것이 기본 템플릿만으로 완전히 새로운 프로젝트에서 실패하고 있는지에 대한 아이디어가 있습니까?
C에 .Gradle 폴더를 삭제 :/사용자/YOURFOLDER가/ –
가/캐시를 무효화하고 안드로이드 스튜디오를 reastart 잠시 동안 인터넷을 끄고 – axtscz
시도를 작동하지 않았다! –