问题描述
- 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:workspaceandroid-support-v7-appcompatbinandroid-support-v7-appcompat.jar'.
Problems encountered while deleting files.
Could not delete: D:workspaceandroid-support-v7-appcompatbinandroid-support-v7-appcompat.jar.
Problems encountered while deleting resources.
Could not delete 'D:workspaceandroid-support-v7-appcompatbinandroid-support-v7-appcompat.jar'.
Problems encountered while deleting files.
Could not delete: D:workspaceandroid-support-v7-appcompatbinandroid-support-v7-appcompat.jar.
Errors running builder 'Android Package Builder' on project 'cardview'.
Problems encountered while deleting resources.
Could not delete 'D:workspacecardviewbincardview.jar'.
Problems encountered while deleting files.
Could not delete: D:workspacecardviewbincardview.jar.
Problems encountered while deleting resources.
Could not delete 'D:workspacecardviewbincardview.jar'.
Problems encountered while deleting files.
Could not delete: D:workspacecardviewbincardview.jar.
Errors running builder 'Android Package Builder' on project 'design'.
Problems encountered while deleting resources.
Could not delete 'D:novabddesignbindesign.jar'.
Problems encountered while deleting files.
Could not delete: D:novabddesignbindesign.jar.
Problems encountered while deleting resources.
Could not delete 'D:novabddesignbindesign.jar'.
Problems encountered while deleting files.
Could not delete: D:novabddesignbindesign.jar.
Errors running builder 'Android Package Builder' on project 'percent'.
Problems encountered while deleting resources.
Could not delete 'D:novabdpercentbinpercent.jar'.
Problems encountered while deleting files.
Could not delete: D:novabdpercentbinpercent.jar.
Problems encountered while deleting resources.
Could not delete 'D:novabdpercentbinpercent.jar'.
Problems encountered while deleting files.
Could not delete: D:novabdpercentbinpercent.jar.
解决方案
问题找到了。原因是。项目引入一个库B,同时引入了一个库A然后库A也引入了一个库B,导致库B被引入了两次,,,然后调整了一下,直接让项目引入库A 就好了
解决方案二:
貌似那几个jar文件正在被使用,所以不能删除,你可以试试把开发软件关了,在工作空间中去删除你要删除的文件
解决方案三:
把bin文件下的class文件删了,重新编译一下试试。
解决方案四:
引入一个库B,同时引入了一个库A然后库A也引入了一个库B,导致库B被引入了两次,,,然后调整了一下,直接让项目引入库A 就好了 我也是醉了