android Could not download xxxx Received status code 403 from server: Forbidden

    记录一个bug以及解决方案。吐槽下傻傻的自己。

我遇见的问题是Could not download asm-analysis.jar (org.ow2.asm:asm-analysis:6.0) Received status code 403 from server: Forbidden。各种百度,搜了一天也没什么结果。
解决其实也很简单,我的这个jar的地址是http://jcenter.bintray.com/org/ow2/asm/asm-analysis/6.0/asm-analysis-6.0.jar 结果下载不下来,提示403,正常去想403是被限制了。我尝试把前面http换成https 结果一试竟然可以.

image.png

把http换成https就解决了

你可能感兴趣的:(android Could not download xxxx Received status code 403 from server: Forbidden)