fresco icon indicating copy to clipboard operation
fresco copied to clipboard

Getting 400 invalid request when triggering gradle sync

Open SendOTP opened this issue 11 years ago • 3 comments

I am getting this error while building project

Error:Could not GET 'https://raw.githubusercontent.com/layerhq/releases-android/master/releases/com/facebook/fresco/fresco/'. Received status code 400 from server: Bad Request Enable Gradle 'offline mode' and sync project

SendOTP avatar Oct 23 '15 10:10 SendOTP

How are you importing fresco library? Could you provide more information please? Thanks

massimocarli avatar Oct 27 '15 14:10 massimocarli

@massimocarli Thanks for replying

I am using this in build.gradle compile 'com.facebook.fresco:fresco:0.8.0+'

Actually the problem occur when I tried to import a swipe to dismiss library which has a version mismatch of build tool . When I removed that library and compiled the project with old build.gradle file fresco works fine.

Hope this information is helpful. Currently I am not facing the same issue as I am not using the other library.

Thanks for the help.

SendOTP avatar Oct 27 '15 14:10 SendOTP

Please try again with 0.8.1.

Are you in mainland China? From there, you need to use a VPN.

tyronen avatar Nov 03 '15 17:11 tyronen