Unable to resolve superclass ofLcom/demo/helloworld/widget/viewpagerindicator/simple/BaseSampleActivity; (107)
08-09 09:58:06.259: W/dalvikvm(1277): Link ofclass 'Lcom/demo/helloworld/widget/viewpagerindicator/simple/BaseSampleActivity;'failed
08-09 09:58:06.259: W/dalvikvm(1277): Unableto resolve superclass ofLcom/demo/helloworld/widget/viewpagerindicator/simple/SampleCirclesDefault;(451)
08-09 09:58:06.259: W/dalvikvm(1277): Link ofclass'Lcom/demo/helloworld/widget/viewpagerindicator/simple/SampleCirclesDefault;'failed
08-09 09:58:06.259: D/AndroidRuntime(1277):Shutting down VM
08-09 09:58:06.259: W/dalvikvm(1277):threadid=1: thread exiting with uncaught exception (group=0x409c01f8)
08-09 09:58:06.316: E/AndroidRuntime(1277):FATAL EXCEPTION: main
08-09 09:58:06.316: E/AndroidRuntime(1277):java.lang.RuntimeException: Unable to instantiate activityComponentInfo{com.demo.helloworld/com.demo.helloworld.widget.viewpagerindicator.simple.SampleCirclesDefault}:java.lang.ClassNotFoundException:com.demo.helloworld.widget.viewpagerindicator.simple.SampleCirclesDefault
08-09 09:58:06.316: E/AndroidRuntime(1277): atandroid.app.ActivityThread.performLaunchActivity(ActivityThread.java:1880)
08-09 09:58:06.316: E/AndroidRuntime(1277): atandroid.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
08-09 09:58:06.316: E/AndroidRuntime(1277): atandroid.app.ActivityThread.access$600(ActivityThread.java:123)
08-09 09:58:06.316: E/AndroidRuntime(1277): atandroid.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
08-09 09:58:06.316: E/AndroidRuntime(1277): atandroid.os.Handler.dispatchMessage(Handler.java:99)
08-09 09:58:06.316: E/AndroidRuntime(1277): atandroid.os.Looper.loop(Looper.java:137)
08-09 09:58:06.316: E/AndroidRuntime(1277): atandroid.app.ActivityThread.main(ActivityThread.java:4424)
08-09 09:58:06.316: E/AndroidRuntime(1277): atjava.lang.reflect.Method.invokeNative(Native Method)
08-09 09:58:06.316: E/AndroidRuntime(1277): atjava.lang.reflect.Method.invoke(Method.java:511)
08-09 09:58:06.316: E/AndroidRuntime(1277): atcom.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
08-09 09:58:06.316: E/AndroidRuntime(1277): atcom.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
08-09 09:58:06.316: E/AndroidRuntime(1277): at dalvik.system.NativeStart.main(NativeMethod)
08-09 09:58:06.316: E/AndroidRuntime(1277):Caused by: java.lang.ClassNotFoundException:com.demo.helloworld.widget.viewpagerindicator.simple.SampleCirclesDefault
08-09 09:58:06.316: E/AndroidRuntime(1277): atdalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
08-09 09:58:06.316: E/AndroidRuntime(1277): atjava.lang.ClassLoader.loadClass(ClassLoader.java:501)
08-09 09:58:06.316: E/AndroidRuntime(1277): atjava.lang.ClassLoader.loadClass(ClassLoader.java:461)
08-09 09:58:06.316: E/AndroidRuntime(1277): at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
08-09 09:58:06.316: E/AndroidRuntime(1277): atandroid.app.ActivityThread.performLaunchActivity(ActivityThread.java:1871)
08-09 09:58:06.316: E/AndroidRuntime(1277): ... 11 more
Unable to resolve superclass of Lcom/demo/helloworld/widget/viewpagerindicator/simple/BaseSampleActivity;(107)
出现这类bug报noclassdefounderror原因adt版本低的问题将adt和sdk升级问题就解决了