[android-developers] Re: How to fix the java.lang.UnsupportedOperationException

2011-03-29 Thread DanH
Obviously, you need to support the operation. I'd suggest duct tape. On Mar 28, 5:22 am, amfine xyf_...@sina.com wrote: Hello please help me .the trouble is: java.lang.UnsupportedOperationException         at android.graphics.Path.addRoundRect(Path.java:514)         at

[android-developers] Re: How to fix the java.lang.UnsupportedOperationException

2011-03-29 Thread Zsolt Vasvari
1) Download Android source code 2) Modify the android.graphics.Path to support addRoundRect() 3) Test and deploy on your favorite device On Mar 28, 6:22 pm, amfine xyf_...@sina.com wrote: Hello please help me .the trouble is: java.lang.UnsupportedOperationException         at

[android-developers] Re: How to fix the java.lang.UnsupportedOperationException

2011-03-29 Thread Streets Of Boston
This looks like a stack-trace from the layout-editor in Eclipse. Older versions of Android's layout-editor plugin are known to not support all types of drawables (e.g. shapes with rounded corners). Be sure to install the latest plugin (10.0.0.1, if i'm not mistaken). Then try to select the