Proguard Hell - Can't find referenced class error
<p>I have just finished my first app. And once I turned on MinifyEnabled to true</p>

<p>I got this error when I try to release</p>

<p>Is there a short way where I can remove all these warning and errors?  </p>

<pre><code>Warning: io.realm.processor.RealmProcessor: can't find superclass or interface javax.annotation.processing.AbstractProcessor
Warning: kotlin.dom.EventListenerHandler: can't find superclass or interface org.w3c.dom.events.EventListener
Warning: com.github.siyamed.shapeimageview.path.parser.SvgToPath: can't find referenced class org.kxml2.io.KXmlParser
Warning: com.github.siyamed.shapeimageview.path.parser.SvgToPath: can't find referenced class org.kxml2.io.KXmlParser
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.TypeElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.TypeElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.util.Elements
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.util.Elements
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.TypeElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.type.TypeMirror
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.type.TypeKind
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.type.TypeKind
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.util.Types
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.util.Types
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.type.TypeKind
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.type.TypeKind
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.type.TypeKind
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.TypeElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.Element
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.Element
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.ElementKind
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.ElementKind
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.ElementKind
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.PackageElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.PackageElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.ExecutableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.ExecutableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.ExecutableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.Modifier
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.Modifier
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.Modifier
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.TypeElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.ElementKind
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.type.TypeMirror
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.Element
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.Modifier
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.ElementKind
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.ElementKind
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.util.Types
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.TypeElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.ExecutableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.type.TypeMirror
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.util.Types
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.TypeElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.TypeElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.type.TypeMirror
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.Element
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.TypeElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.PackageElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.ExecutableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.Modifier
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.type.TypeMirror
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.ExecutableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.ElementKind
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.Element
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.Modifier
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.element.VariableElement
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.type.TypeMirror
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.type.TypeMirror
Warning: io.realm.processor.ClassMetaData: can't find referenced class javax.lang.model.type.TypeMirror
Warning: io.realm.processor.DefaultModuleGenerator: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning: io.realm.processor.DefaultModuleGenerator: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning: io.realm.processor.DefaultModuleGenerator: can't find referenced class javax.lang.model.element.Element
Warning: io.realm.processor.DefaultModuleGenerator: can't find referenced class javax.annotation.processing.Filer
Warning: io.realm.processor.DefaultModuleGenerator: can't find referenced class javax.annotation.processing.Filer
Warning: io.realm.processor.DefaultModuleGenerator: can't find referenced class javax.tools.JavaFileObject
Warning: io.realm.processor.DefaultModuleGenerator: can't find referenced class javax.tools.JavaFileObject
</code></pre>