title: java.lang.NoClassDefFoundError: java.awt.Image in android
body: <p>I am facing the following issue in Android.</p>
  
  <blockquote>
    <p>FATAL EXCEPTION: main
                                                                    Process: pkg.demo, PID: 22090
                                                                    java.lang.NoClassDefFoundError: java.awt.Image
                                                                        at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.(RuntimeBuiltinLeafInfoImpl.java:372)
                                                                        at com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.(RuntimeTypeInfoSetImpl.java:65)
                                                                        at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:133)
                                                                        at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:85)
                                                                        at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:156)
                                                                        at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.(RuntimeModelBuilder.java:93)
                                                                        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:455)
                                                                        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:303)
                                                                        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:142)
                                                                        at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1174)
                                                                        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:162)
                                                                        at java.lang.reflect.Method.invokeNative(Native Method)
                                                                        at java.lang.reflect.Method.invoke(Method.java:515)
                                                                        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:202)
                                                                        at javax.xml.bind.ContextFinder.find(ContextFinder.java:363)
                                                                        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
                                                                        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)</p>
  </blockquote>