Error inflating class android.support.v4.view.ViewPager

Go to Project → Properties → Java Build Path than select Order and Export tab.

Set android-support-v4.jar library checked and up it into top of the list. And clean and rebuild..It works for most of the cases

Leave a Comment