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

It is an 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.


I've seen the same issue. I removed that jar file, and then rightclick on the project, select maven, and do "update project...". The jar was downloaded again, and the problem was gone.


There is other case to display error Archive for required library

Right click on project and open --> project project properties --> java build path --> Android private libs

if there are two jar files with same name then remove one from libs.

jar file may the hidden some times then open you libs folder in window and check if any hidden files are exist Organize --> folders and search options --> view --> check show hidden files and Delete the hidden jar file , The same cass delete if hidden java fies exist in src and packages if any