Right click the project properties->java build path->libraries click add external jar
.
browse go to android installation folder like C:\Program Files\Android\android-sdk\extras\android\support\v4
there you find the android_support_v4.jar
file then add the jar file and go to order and export tab check the library and click ok..