java.lang.NoClassDefFoundError: com.baidu.mobstat.StatService

发布时间:2013-06-22 03:02:24
在eclipse中进行如下设置
 
  1. "Properties > Java Build Path > Libraries", delete "Android Dependencies" in my test project.
  2. "Properties > Java Build Path > Libraries", delete Baidu_Mobstat_Android_SDK jar and click "Add JARs" to re-import Baidu_Mobstat_Android_SDK jar in my test project.
  3. "Properties > Java Build Path > Order and Export", check two checkbok of Baidu_Mobstat_Android_SDK jar (and othera you want exported.)
  4. Clean my test project.