archive for required library could not be read or is not a valid ZIP file

后端 未结 18 2358
醉梦人生
醉梦人生 2020-12-03 04:27

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

  1. I created an account on github and made a repository named Android.
18条回答
  •  庸人自扰
    2020-12-03 05:01

    I will say that it can be that some answers work for some cases, but for me it was necessary to go an extra mile. So I will try to make a summary of what can be done:

    1. Verify that the jars are intact:

      jar tf myjar.jar

    2. Restart eclipse and update projects setting over right click on project -> Maven -> Update project

    3. The option which has work for me was to navigate in the workspace folder and then delete the files:

      .metadata/.plugins/org.eclipse.jdt.core/invalidArchivesCache .metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache

    After that restart eclipse and rebuild project.

提交回复
热议问题