At a place there is a proxy set up to filter out bad content, and it prevents gradle from fetching jar dependencies. I’ve talked with the admin and he whitelisted
Now what’s weird is that from Bintray a lot of dependency gets fetched (I think successfully), but then https://jcenter.bintray.com/com/google/auto/value/auto-value/1.5.2/auto-value-1.5.2.jar will not get fetched. Here is the error message:
Could not GET ‘https://jcenter.bintray.com/com/google/auto/value/auto-value/1.5.2/auto-value-1.5.2.jar’. Received status code 407 from server: Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
Enable Gradle ‘offline mode’ and sync project
Later I talked with the admin and he added again the Bintray url to the whitelist with a final slash, but that doesn’t seemed to help.
What can be the problem? I think it’s not a problem with Forefront, because the rule is set to be top level (as I remember), and if I enable “Enable embedded Maven repository” in Android Studio, it will complain about https://jcenter.bintray.com/com/google/guava/guava/22.0/guava-22.0.jar with the same reason