android / android/architecture-samples

[todo-mvp-clean] sync fail -> FAILURE: Build failed with an exception

Open
#613 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
45.8k
Forks
11.9k
PR merge metrics
No merged PRs in 30d

Description

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'todoapp'.
> Could not resolve all files for configuration ':classpath'.
> Could not find gradle.jar (com.android.tools.build:gradle:3.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.jar
> Could not find gradle-core.jar (com.android.tools.build:gradle-core:3.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/gradle-core/3.0.0/gradle-core-3.0.0.jar
> Could not find builder.jar (com.android.tools.build:builder:3.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/builder/3.0.0/builder-3.0.0.jar
> Could not find lint.jar (com.android.tools.lint:lint:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/lint/lint/26.0.0/lint-26.0.0.jar
> Could not find lint-checks.jar (com.android.tools.lint:lint-checks:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/lint/lint-checks/26.0.0/lint-checks-26.0.0.jar
> Could not find lint-api.jar (com.android.tools.lint:lint-api:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/lint/lint-api/26.0.0/lint-api-26.0.0.jar
> Could not find uast.jar (com.android.tools.external.org-jetbrains:uast:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/external/org-jetbrains/uast/26.0.0/uast-26.0.0.jar
> Could not find gradle-api.jar (com.android.tools.build:gradle-api:3.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/gradle-api/3.0.0/gradle-api-3.0.0.jar
> Could not find compilerCommon.jar (com.android.databinding:compilerCommon:3.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/databinding/compilerCommon/3.0.0/compilerCommon-3.0.0.jar
> Could not find sdk-common.jar (com.android.tools:sdk-common:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/sdk-common/26.0.0/sdk-common-26.0.0.jar
> Could not find sdklib.jar (com.android.tools:sdklib:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/sdklib/26.0.0/sdklib-26.0.0.jar
> Could not find repository.jar (com.android.tools:repository:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/repository/26.0.0/repository-26.0.0.jar
> Could not find tracker.jar (com.android.tools.analytics-library:tracker:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/analytics-library/tracker/26.0.0/tracker-26.0.0.jar
> Could not find shared.jar (com.android.tools.analytics-library:shared:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/analytics-library/shared/26.0.0/shared-26.0.0.jar
> Could not find protos.jar (com.android.tools.analytics-library:protos:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/analytics-library/protos/26.0.0/protos-26.0.0.jar
> Could not find builder-model.jar (com.android.tools.build:builder-model:3.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/builder-model/3.0.0/builder-model-3.0.0.jar
> Could not find builder-test-api.jar (com.android.tools.build:builder-test-api:3.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/builder-test-api/3.0.0/builder-test-api-3.0.0.jar
> Could not find layoutlib-api.jar (com.android.tools.layoutlib:layoutlib-api:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/26.0.0/layoutlib-api-26.0.0.jar
> Could not find apksig.jar (com.android.tools.build:apksig:3.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/apksig/3.0.0/apksig-3.0.0.jar
> Could not find baseLibrary.jar (com.android.databinding:baseLibrary:3.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.jar
> Could not find annotations.jar (com.android.tools:annotations:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/annotations/26.0.0/annotations-26.0.0.jar
> Could not find intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/external/com-intellij/intellij-core/26.0.0/intellij-core-26.0.0.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

CONFIGURE FAILED in 0s
Could not find gradle.jar (com.android.tools.build:gradle:3.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.jar

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Gradle sync failure for the root project and inspect the repository's Gradle configuration and dependency repositories. The work is done when the Android project resolves its build dependencies and completes configuration successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.