Giter Site home page Giter Site logo

Comments (8)

sysdl132 avatar sysdl132 commented on May 6, 2024 1
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':classpath'.

Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve com.android.tools.build:gradle:3.0.1.

Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: No cached version of com.android.tools.build:gradle:3.0.1 available for offline mode.

from qbox.

sysdl132 avatar sysdl132 commented on May 6, 2024

at:

task wrapper(type: Wr) {
    gradleVersion = '3.1'
}

from qbox.

OCNYang avatar OCNYang commented on May 6, 2024

这个问题应该是 Gradle 版本的问题。

你可以尝试改成新的写法:

wrapper {
    //configuration
}

from qbox.

sysdl132 avatar sysdl132 commented on May 6, 2024

image
[Help wanted]

from qbox.

OCNYang avatar OCNYang commented on May 6, 2024

这仅仅是一个Gradle的配置问题。 这类问题很常见,你可以先通过百度寻求答案。
比如:
Could not resolve com.android.tools.build:gradle:3.4.1

gradle 升级到 4.1 后出现的 Could not resolve com.android.tools.build:gradle:3.0.1

from qbox.

sysdl132 avatar sysdl132 commented on May 6, 2024

image

from qbox.

sysdl132 avatar sysdl132 commented on May 6, 2024

尝试编辑:
image

from qbox.

sysdl132 avatar sysdl132 commented on May 6, 2024

终于知道了:
image
我按了一个不该按的开关,会禁止网络

from qbox.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.