JakeWharton/Android-ViewPagerIndicator — Issue #57: Disable theming in Eclise Edit Mode
Author: kmmbvnr
Created: 2012-02-03 11:04:05+00:00
State: open

Error in latest eclipse adt visual layout editor

The following classes could not be instantiated:
- (Open Class, Show Error Log)
See the Error Log (Window > Show View) for more details.
Tip: Use View.isInEditMode() in your custom views to skip code when shown in Eclipse

Error log:

android.content.res.Resources$NotFoundException: Resource ID #0x7f060000 type #0x3 is not valid
at android.content.res.Resources.getBoolean(Resources.java:679)
at com.viewpagerindicator.CirclePageIndicator.(CirclePageIndicator.java:85)
at com.viewpagerindicator.CirclePageIndicator.(CirclePageIndicator.java:71)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at com.android.ide.eclipse.adt.internal.editors.layout.ProjectCallback.instantiateClass(ProjectCallback.java:397)
at com.android.ide.eclipse.adt.internal.editors.layout.ProjectCallback.loadView(ProjectCallback.java:165)