Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle Failed #469

Open
ArbitCode opened this issue Apr 29, 2020 · 2 comments
Open

Gradle Failed #469

ArbitCode opened this issue Apr 29, 2020 · 2 comments

Comments

@ArbitCode
Copy link

Build failed after cloning the first lesson

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project 'T01.01-Exercise-CreateLayout'.

Could not resolve all artifacts for configuration ':classpath'.
Could not resolve com.android.tools.build:gradle:3.2.1.
Required by:
project :
> No cached version of com.android.tools.build:gradle:3.2.1 available for offline mode.
> No cached version of com.android.tools.build:gradle:3.2.1 available for offline mode.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

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

BUILD FAILED in 0s
ERROR: No cached version of com.android.tools.build:gradle:3.2.1 available for offline mode.
Disable Gradle 'offline mode' and sync project

@saltgen
Copy link

saltgen commented May 26, 2020

Please assist with inputs on this issue.

Gradle sync failed: No cached version of org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.71 available for offline mode.

From Build tab:

Could not resolve com.google.jimfs:jimfs:1.1.
Required by:
project : > com.android.tools.build:gradle:3.2.1 > com.android.tools.build:builder:3.2.1 > com.android.tools:sdklib:26.2.1 > com.android.tools:repository:26.2.1
> No cached version of com.google.jimfs:jimfs:1.1 available for offline mode.
> No cached version of com.google.jimfs:jimfs:1.1 available for offline mode.

@etamys
Copy link

etamys commented Sep 14, 2020

It's is due to because these repo's are to old so his gradle version's are also to old they gives some problem in gradle error
for resolving this you can make a new Project and copy the whole java and XML file's ...if there is any dependencies do not copy it
search for latest one at google and then add them in your projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants