Reputation: 3933
How can I fix this error - Archive for required library: 'C:/Users/Android/Documents/eclpiseproject/codes/android/aproject/libs/._android-support-v4.jar' in project 'aproject' cannot be read or is not a valid ZIP
Upvotes: 3
Views: 1457
Reputation: 86
I have just deleted android-support-v4.jar from the project and added it back using 'Android Tools -> Add Support Library' and it solved my problem.
Upvotes: 1
Reputation: 1886
Looks like you are missing the support library.
Right click the project in Eclipse > Android Tools > Add Support Library.
The support library is not packaged as part of the Android SDK but offers more components. It needs to be added though if you are using a component from it.
Wise to clean your project once added as well.
Upvotes: 0
Reputation: 7266
The Android Developer Guide has a quite complete section on this topic. If you follow the steps you should be able to fix this problem.
-> http://developer.android.com/tools/extras/support-library.html
Upvotes: 0