Tak więc próbowałem rozpoczynać nowy projekt od zera z nową wersją 3 Androida Studio. Wszystko działa, dopóki nie spróbuje zbudować projektu. Pojawia się następujący komunikat o błędzie:Konstrukcja Gradle Build kończy się niepowodzeniem z nowymi aplikacjami Gradle 3.0.0 i 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.
Kliknięcie któregoś z rozwiązań nie zapobiega ponownemu awarii. Opróżniłem nawet mój folder domowy, by bezskutecznie. Jakieś pomysły, dlaczego to się nie udaje w przypadku całkowicie nowego projektu z tylko podstawowym szablonem?
usunąć folderu .Gradle w C:/Users/YOURFOLDER/ –
nie działa @DivyeshPatel – axtscz
próbować unieważnić/cache i reastart android studio i wyłączyć internet na chwilę –