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

Failed to resolve: com.jakewharton:butterknife:6.0.0 #15

Closed
xavigil opened this issue Mar 30, 2015 · 1 comment
Closed

Failed to resolve: com.jakewharton:butterknife:6.0.0 #15

xavigil opened this issue Mar 30, 2015 · 1 comment

Comments

@xavigil
Copy link

xavigil commented Mar 30, 2015

I can't compile the project and I am completely lost. Is this a bug?

After replacing classpath 'com.android.tools.build:gradle:1.1.0-rc1' by classpath 'com.android.tools.build:gradle:1.1.0 I try to sync gradle and I get the following error:

`Error:(53, 13) Failed to resolve: com.jakewharton:butterknife:6.0.0``

If I run ./gradlew clean I get this:

Download https://jcenter.bintray.com/com/jakewharton/butterknife/6.0.0/butterknife-6.0.0.pom
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.3.1/gson-2.3.1.pom

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
   > Could not resolve com.jakewharton:butterknife:6.0.0.
     Required by:
         HackVG:app:unspecified
      > Failed to move file '/private/var/folders/6y/pcdw03x506n5tl26mxhq7rb80000gn/T/gradle_download3409899847438911358bin' into filestore at '/Users/xavi/.gradle/caches/modules-2/files-2.1/com.jakewharton/butterknife/6.0.0/de7746bd24355fadf8013d7095c083f7810f8e54/butterknife-6.0.0.pom'
   > Could not resolve com.google.code.gson:gson:2.3.1.
     Required by:
         HackVG:app:unspecified > HackVG:domain:unspecified > HackVG:model:unspecified > com.squareup.retrofit:retrofit:1.9.0
      > Failed to move file '/private/var/folders/6y/pcdw03x506n5tl26mxhq7rb80000gn/T/gradle_download7225264487116654668bin' into filestore at '/Users/xavi/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.3.1/284ce3bf374b92f3bfd554b559e6e7865c27009/gson-2.3.1.pom'

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

BUILD FAILED

Total time: 23.723 secs

Can anybody point me in the right direction? Thanks!

@xavigil
Copy link
Author

xavigil commented Mar 31, 2015

Clearing the gradle cache fixed the weird issue.

@xavigil xavigil closed this as completed Mar 31, 2015
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

1 participant