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

时间:2014-06-28 15:06:19   收藏:0   阅读:421

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.

java.lang.NoClassDefFoundError: android.support.v4.view.ViewConfigurationCompat,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!