2 baidu 19694879 baidu_19694879 于 2016.03.14 10:09 提问

android clean时出现错误

项目没有问题,项目用过引用过了4个库, 求解???

Errors occurred during the build.
Errors running builder 'Android Package Builder' on project 'android-support-v7-appcompat'.
Problems encountered while deleting resources.
Could not delete 'D:\workspace\android-support-v7-appcompat\bin\android-support-v7-appcompat.jar'.
Problems encountered while deleting files.
Could not delete: D:\workspace\android-support-v7-appcompat\bin\android-support-v7-appcompat.jar.
Problems encountered while deleting resources.
Could not delete 'D:\workspace\android-support-v7-appcompat\bin\android-support-v7-appcompat.jar'.
Problems encountered while deleting files.
Could not delete: D:\workspace\android-support-v7-appcompat\bin\android-support-v7-appcompat.jar.
Errors running builder 'Android Package Builder' on project 'cardview'.
Problems encountered while deleting resources.
Could not delete 'D:\workspace\cardview\bin\cardview.jar'.
Problems encountered while deleting files.
Could not delete: D:\workspace\cardview\bin\cardview.jar.
Problems encountered while deleting resources.
Could not delete 'D:\workspace\cardview\bin\cardview.jar'.
Problems encountered while deleting files.
Could not delete: D:\workspace\cardview\bin\cardview.jar.
Errors running builder 'Android Package Builder' on project 'design'.
Problems encountered while deleting resources.
Could not delete 'D:\novabd\design\bin\design.jar'.
Problems encountered while deleting files.
Could not delete: D:\novabd\design\bin\design.jar.
Problems encountered while deleting resources.
Could not delete 'D:\novabd\design\bin\design.jar'.
Problems encountered while deleting files.
Could not delete: D:\novabd\design\bin\design.jar.
Errors running builder 'Android Package Builder' on project 'percent'.
Problems encountered while deleting resources.
Could not delete 'D:\novabd\percent\bin\percent.jar'.
Problems encountered while deleting files.
Could not delete: D:\novabd\percent\bin\percent.jar.
Problems encountered while deleting resources.
Could not delete 'D:\novabd\percent\bin\percent.jar'.
Problems encountered while deleting files.
Could not delete: D:\novabd\percent\bin\percent.jar.

4个回答

baidu_19694879
baidu_19694879   2016.03.14 11:28
已采纳

问题找到了。原因是。项目引入一个库B,同时引入了一个库A,然后库A也引入了一个库B,,导致库B被引入了两次,,,然后调整了一下,直接让项目引入库A 就好了

shi_17
shi_17   2016.03.14 11:01

貌似那几个jar文件正在被使用,所以不能删除,你可以试试把开发软件关了,在工作空间中去删除你要删除的文件

luochoudan
luochoudan   Ds   Rxr 2016.03.14 11:42

把bin文件下的class文件删了,重新编译一下试试。

lxk_1993
lxk_1993   Rxr 2016.03.14 18:53

引入一个库B,同时引入了一个库A,然后库A也引入了一个库B,,导致库B被引入了两次,,,然后调整了一下,直接让项目引入库A 就好了 我也是醉了

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!