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.

java.lang.NoClassDefFoundError: android.support.v4.view.ViewConfigurationCompat,,5-wow.com

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。