java.lang.ClassNotFoundException: Didn't find class "stu.love.neihan.MainActivity" on path: DexPathList  解决方式:


今天遇到一个Bug: 

详细的bug 显示:
10-06 22:34:43.019: E/AndroidRuntime(10813): Caused by: java.lang.ClassNotFoundException: Didn't find class "stu.love.neihan.MainActivity" on path: DexPathList[dexElements=[zip file "/data/app/stu.love.neihan-1.apk"],nativeLibraryDirectories=[/data/app-lib/stu.love.neihan-1, /vendor/lib, /system/lib]]


还有 concle  bug 显示如图:

java.lang.ClassNotFoundException: Didn't find class "stu.love.neihan.MainActivity" on path: DexPathL_sed

我出错的原因:
是由于我使用的PullToRefresh 中的V4 包和我项目中的 v4 包 不匹配导致的bug!
将 PullToReFresh 中的V4包替换 就可以!