开发者社区> 问答> 正文

共同开发报错,Android studio2.1?报错

Error:Execution failed for task ':app:clean'.
> Unable to delete directory: C:\Users\Administrator\Desktop\meijia4\app\build\intermediates
:app:clean FAILED
Warning:Dependency org.apache.httpcomponents:httpclient:4.5 is ignored for release as it may be conflicting with the internal version provided by Android.
         In case of problem, please repackage it with jarjar to change the class packages
         In case of problem, please repackage it with jarjar to change the class packages
Warning:Dependency org.apache.httpcomponents:httpclient:4.5 is ignored for debug as it may be conflicting with the internal version provided by Android.

这个错误怎么解决?

展开
收起
爱吃鱼的程序员 2020-06-09 13:47:41 455 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    不是说摒弃了httpclient么?建议用OKHttp或者volley如果你们用的RESTFulAPI)可以使用retrofit嗯,库用乱了,说多了都是泪啊。。。<spanstyle="font-size:13.3333px;">在本地打开你的工程,把app下面那个build文件删掉,重新跑就好了已经解决,用的第三方库太多,导致了调用方法冲突。

    2020-06-09 13:48:00
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
相关产品:
问答排行榜
最热
最新

相关电子书

更多
58同城Android客户端Walle框架演进与实践之路 立即下载
Android组件化实现 立即下载
蚂蚁聚宝Android秒级编译——Freeline 立即下载