Hi All,
  I am getting below error when i try to drag Form Widgets to layout
xml  -- in my case , it is checkbox element.

javax.imageio.IIOException: Error reading PNG metadata
        at
com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:
690)
        at
com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:
1309)
        at
com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:
1579)
        at javax.imageio.ImageIO.read(ImageIO.java:1400)
        at javax.imageio.ImageIO.read(ImageIO.java:1286)
        at android.graphics.Bitmap_Delegate.createBitmap(Bitmap_Delegate.java:
95)
        at
com.android.layoutlib.bridge.impl.ResourceHelper.getDrawable(ResourceHelper.java:
233)

I m using eclipse Indigo , Android API 10 (2.3.3)

java.lang.NullPointerException
        at android.graphics.drawable.DrawableContainer
$DrawableContainerState.addChild(DrawableContainer.java:349)
        at android.graphics.drawable.StateListDrawable
$StateListState.addStateSet(StateListDrawable.java:267)
        at
android.graphics.drawable.StateListDrawable.inflate(StateListDrawable.java:
175)
        at
android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:
787)
        at android.graphics.drawable.Drawable.createFromXml(Drawable.java:
728)
        at
com.android.layoutlib.bridge.impl.ResourceHelper.getDrawable(ResourceHelper.java

I appreciate urgent help on this.  thanks in advance.
Request to moderators -- please allow this topic to be posted.

thanks,
Dinesh.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to