Android错误:
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.view.ViewPager" on path: /data/app/XXX.apk
解决方案:把第三方的包(android-support-v4.jar)放在项目目录下的libs里,右键libs包选择:Build Path -> use as source folder,就OK了。
Android错误:
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.view.ViewPager" on path: /data/app/XXX.apk
解决方案:把第三方的包(android-support-v4.jar)放在项目目录下的libs里,右键libs包选择:Build Path -> use as source folder,就OK了。