存档所需的库无法读取或者不是有效的ZIP文件 [英] archive for required library could not be read or is not a valid ZIP file

查看:822
本文介绍了存档所需的库无法读取或者不是有效的ZIP文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在未来的问题让我解释什么,我也已经落在了我的问题。

Before coming to the problem let me explain what I did that has landed me in the problem.

  1. 在我创建的帐户 github上并提出了名为Android的资源库。
  2. 然后,我在我的窗户安装 github上的客户端 7。
  3. 然后我打开这个客户端,提供了我的身份验证和克隆的资源库到本地目录 C:\用户\ Aniket \文档\ GitHub的\ Android版(该文件夹具有 git的文件夹中的话)。
  4. 然后我去了我的Eclipse ADT和安装 EGit 插件描述这里。此外,我
  5. 然后在Eclipse我右键单击我的项目井字游戏 Team->共享项目,并提供我仓库路径即 C:\用户\ Aniket \文档\ GitHub的\ Android版
  6. 在我的项目加入到本地资源库,并在我的github上的客户端它显示我的所有选项提交的文件在GitHub的现场实际存储库。
  7. 但我的项目突然显示一个红色的错误!签字就可以了。

  1. I created an account on github and made a repository named Android.
  2. Then I installed github client in my windows 7.
  3. Then I opened this client, provided my authentication and cloned the repository to a local directory C:\Users\Aniket\Documents\GitHub\Android(This folder has the .git folder in it).
  4. Then I went to my Eclipse ADT and installed EGit plugin as described here. Also I
  5. Then in Eclipse I right click on my project TicTacToe go to Team->Share Project and provide my repository path i.e C:\Users\Aniket\Documents\GitHub\Android.
  6. My Project was added to the local repository and in my github client it shows me all option to commit file in the actual repository on the github site.
  7. But my project is suddenly showing error with a red '!' sign on it.

说明 - > 存档所需的库:C:/用户/ Aniket / AndroidWorkspace /井字游戏 /libs/android-support-v4.jar项目井字游戏无法读取或者不是有效的ZIP文件

Description --> Archive for required library: 'C:/Users/Aniket/AndroidWorkspace/TicTacToe /libs/android-support-v4.jar' in project 'TicTacToe' cannot be read or is not a valid ZIP file

资源 - >井字游戏

路径位置 - >构建路径

Path Location --> Build path

类型 - >构建路径问题

Type --> Build Path Problem

注:该错误是在Eclipse中显示在错误控制台一行。我只是把它分解了以提高可读性。

Note : the Error was a single line displayed in error console on Eclipse. I just split it up for readability.

即使拆卸库充分显示了错误。

Even after detaching repository it shows that error.

有没有人遇到过这种情况。如何解决或解决方法吗?我一派,前几个环节表明,它是一个Eclipse的bug。请建议可以做些什么,使我的项目回可执行状态?

Has anyone encountered this scenario before. What is the solution or workaround? I googled and first few links suggest it is an Eclipse bug. Please suggest what can be done to bring my project back to executable state?

推荐答案

这可能是Eclipse的错误。我所面临的同样的问题多次。关闭并重新打开该项目工程的某个时候。如果它不工作,请尝试重新启动Eclipse的。

It can be Eclipse bug. I have faced the similar problem several times. closing and reopening the project works sometime. if it doesn't work try restarting Eclipse.

这篇关于存档所需的库无法读取或者不是有效的ZIP文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆