Closed stefango closed 5 years ago
Hello, I can't spot your problem from the log (seems unrelated). What's the output of ./gradlew :app:assembleDebug
?
Hello, I can't spot your problem from the log (seems unrelated). What's the output of
./gradlew :app:assembleDebug
? The output ofgradlew :app:assembleDebug
is below:C:\Users\stefango\AndroidStudioProjects\WeatherForecast>gradlew :app:assembleDebug
Welcome to Gradle 5.1.1!
Here are the highlights of this release:
For more details see https://docs.gradle.org/5.1.1/release-notes.html
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
Configure project : Repository https://jcenter.bintray.com/ replaced by http://maven.aliyun.com/nexus/content/repositories/jcenter. Repository https://jcenter.bintray.com/ replaced by http://maven.aliyun.com/nexus/content/repositories/jcenter. Repository https://jcenter.bintray.com/ replaced by http://maven.aliyun.com/nexus/content/repositories/jcenter.
Task :app:preDebugBuild FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:preDebugBuild'.
Could not resolve all files for configuration ':app:debugCompileClasspath'. Could not find com.github.arcadefire:nice-spinner:1.3.7. Required by: project :app
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 22s 1 actionable task: 1 executed
This refers to version nice-spinner:1.3.7
though. Have you tried to update to latest version 1.4.3
?
This refers to version
nice-spinner:1.3.7
though. Have you tried to update to latest version1.4.3
?
Still failed for 1.4.3
C:\Users\stefango\AndroidStudioProjects\WeatherForecast>gradlew :app:assembleDebug
> Configure project :
Repository https://jcenter.bintray.com/ replaced by http://maven.aliyun.com/nexus/content/repositories/jcenter.
Repository https://jcenter.bintray.com/ replaced by http://maven.aliyun.com/nexus/content/repositories/jcenter.
Repository https://jcenter.bintray.com/ replaced by http://maven.aliyun.com/nexus/content/repositories/jcenter.
> Task :app:preDebugBuild FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:preDebugBuild'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not find com.github.arcadefire:nice-spinner:1.4.3.
Required by:
project :app
* 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 5s
1 actionable task: 1 executed
I'm wondering, do you have Jitpack repository in your repository list?
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
OMG, I forget this. I have fixed it. Thanks a lot.:smile:
No problem.
Hello, I have a trouble in using nice-spinner. Could you help me in your spare time?
My Android Studio info:
Build:
idea.log: