fresco icon indicating copy to clipboard operation
fresco copied to clipboard

Error:(25, 13) Failed to resolve: com.facebook.fresco:fresco:0.1.0+

Open Xuzhiwei opened this issue 11 years ago • 10 comments

I'm use android studio to compile fresco.but it failed.

Error:(25, 13) Failed to resolve: com.facebook.fresco:fresco:0.1.0+ Show in File
Show in Project Structure dialog

Xuzhiwei avatar Apr 04 '15 15:04 Xuzhiwei

Your build.gradle file should point to Maven Central.

tyronen avatar Apr 04 '15 15:04 tyronen

Can confirm: I have mavenCentral() and it is still not working.

jsflax avatar Apr 04 '15 20:04 jsflax

I'm also having this issue on both a mac and a windows pc. It looks like it couldn't get a file from the server. The details are pasted below: Error:A problem occurred configuring project ':app'.

Could not resolve all dependencies for configuration ':app:_debugCompile'. Could not resolve javax.annotation:javax.annotation-api:[1.2,). Required by: PoppinSpot:app:unspecified > com.facebook.fresco:fresco:0.1.0 > com.facebook.fresco:imagepipeline:0.1.0 PoppinSpot:app:unspecified > com.facebook.fresco:fresco:0.1.0 > com.facebook.fresco:drawee:0.1.0 PoppinSpot:app:unspecified > com.facebook.fresco:fresco:0.1.0 > com.facebook.fresco:fbcore:0.1.0 > Failed to list versions for javax.annotation:javax.annotation-api. > Unable to load Maven meta-data from https://jcenter.bintray.com/javax/annotation/javax.annotation-api/maven-metadata.xml. > Could not GET 'https://jcenter.bintray.com/javax/annotation/javax.annotation-api/maven-metadata.xml'. Received status code 500 from server: Internal Server Error

FragShawn avatar Apr 05 '15 00:04 FragShawn

Had the same error. It worked when I unchecked "Offline work":

screen shot 2015-04-05 at 5 49 34 pm

mikeknoop avatar Apr 05 '15 22:04 mikeknoop

Thanks for the reply. It got fixed without me doing anything on my end. I think it was a jcenter server issue.

FragShawn avatar Apr 05 '15 22:04 FragShawn

I encountered the same issue when I first added Fresco and then again when I added the OkHttp lib for Fresco. In both instances, I fixed it by rebuilding the project: Build> Rebuild Project. Hope this helps someone else.

newmskywalker avatar Apr 06 '15 19:04 newmskywalker

Today I build the project,this issue was fixed.I didn't modify anything

Xuzhiwei avatar Apr 07 '15 01:04 Xuzhiwei

Agreed, seems to be fixed now.

On Mon, Apr 6, 2015 at 9:40 PM, Xuzhiwei [email protected] wrote:

Today I build the project,this issue was fixed.I didn't modify anything

— Reply to this email directly or view it on GitHub https://github.com/facebook/fresco/issues/89#issuecomment-90307910.

jsflax avatar Apr 07 '15 01:04 jsflax

Thanks for the reply. It got fixed without me doing anything on my end. I think it was a jcenter server issue.

  > No cached version listing for com.facebook.fresco:fresco:1.+ available for offline mode.
  > No cached version listing for com.facebook.fresco:fresco:1.+ available for offline mode.
  > No cached version listing for com.facebook.fresco:fresco:1.+ available for offline mode.

mkraitman avatar Jan 12 '22 17:01 mkraitman

jcenter seems to be going away, does Maven Central have this> https://stackoverflow.com/questions/69205724/unable-to-load-maven-meta-data-from-https-jcenter-bintray-com-org-webkit-andro

I got issue recently and not going away, only when removing jcenter as a repo in gradle build file.

bjm88 avatar May 04 '22 21:05 bjm88