Online download
Could not GET 'https://maven.google.com/com/android/tools/build/gradle/4.0.0./gradle-4.0.0.. Pom '. Received the status code 400 from server: Bad Request
Disable Gradle 'offline mode and sync project
After the offline:
A problem occurred you root project 'ZFXT.
Could not resolve all artifacts for the configuration ': the classpath'.
Could not resolve com. Android. View the build: gradle: 4.0.0..
Required by:
Project:
No cached version of the android. Tools. Build: gradle: 4.0.0. Available for offline mode.
No cached version of the android. Tools. Build: gradle: 4.0.0. Available for offline mode.
No cached version of the android. Tools. Build: gradle: 4.0.0. Available for offline mode.
No cached version of the android. Tools. Build: gradle: 4.0.0. Available for offline mode.
No cached version of the android. Tools. Build: gradle: 4.0.0. Available for offline mode.
Could not resolve org. Jetbrains. Kotlin: kotlin - gradle - plugin: 1.3.72.
Required by:
Project:
No cached version of org. Jetbrains. Kotlin: kotlin - gradle - plugin: 1.3.72 available for offline mode.
No cached version of org. Jetbrains. Kotlin: kotlin - gradle - plugin: 1.3.72 available for offline mode.
No cached version of org. Jetbrains. Kotlin: kotlin - gradle - plugin: 1.3.72 available for offline mode.
No cached version of org. Jetbrains. Kotlin: kotlin - gradle - plugin: 1.3.72 available for offline mode.
No cached version of org. Jetbrains. Kotlin: kotlin - gradle - plugin: 1.3.72 available for offline mode.
Possible solution:
- Disable offline mode and rerun the build
It is nearly two days now, or the problem:
Cause is gradle cannot be updated, try to download AndroidStudio, but the problem is still so, download a version for Android website development platform 4.1.2;
Online have tried for many reason: remove the agent, the local load, ali maven repository configuration, adjust the gradle version with plug-in version of the version number;
There are two problems: 1. Gradle4.0.0 pom if separate download this file should be configured in where, if you can't find where I can go to him to the configuration cost path directly load;
The gradle automatic loading mechanism is really sick, not let a person mad,
2. Including kotlin pom file also has the same problem; Local kotlin plugin has been installed, why the pom to the load related?
CodePudding user response:
Is really unique, or set up the question of agency, all item set up the agent checked several times, the delete (below the gradle, the Module below), the Settings (Setting - proxy) are got,Finally helpless will all proxy parameters page empty directly, it's sample Background Tasks and quietly ran off, ha ha!!!!! There is a chest crushed stone, TDM
CodePudding user response:
This kind of problem is usually agent not configured