java.lang.NoClassDefFoundError: android.support.v4.view.ViewConfigurationCompat

Recently I am trying to run the sliding menu examples which was given in this blog: http://www.curious-creature.org/2012/12/14/android-recipe-3-sliding-menu-layers-and-filters/; 

1. download library prject from github;

2. Inside the main project, right click-> property->android-> add library .

3. NoClassDefoundError was given.

I took nearly 24 hours to fix this problem, finally :) , it gets solved.

Here is the solution:

In the library project, delete libs folder. right click-> build path->java build path->add jars->then select the android.support.v4.jar->click ok. Clean the project , Over.

posted @ 2014-06-19 22:06  丸子No1  阅读(1601)  评论(0编辑  收藏  举报