-2

I am doing Tabhost + ViewPager + Sliding menu in android using eclipse and error occoured The following classes could not be found: - android.support.v4.view.viewPager (Fix Build Path, Edit XML, Create Class) what should i do

1 Answers1

0

this problem comes from your imports use ctrl + 1 on part of your code that is underlined for error , and click on import . if the error caused by imports , this should fix that.

Pirisok
  • 401
  • 3
  • 9
  • *this should fix that.* only if the required library is already linked, which does not seem to be the case – Tim Sep 29 '15 at 09:39
  • he is getting errors on android.support.v4 libraris , he is not imported libraries or \libs\android-support-v4.jar is missing from his libs . – Pirisok Sep 29 '15 at 09:43
  • Yes but pressing ctrl+1 won't magically put the support library in your project – Tim Sep 29 '15 at 09:43
  • i know !! usually when you create an app in eclipse or android studio , it include that jar in your project , so ctlr+1 should fix it – Pirisok Sep 29 '15 at 09:46