<div dir="ltr"><p>If I add the opensaml to pom.xml for my Android app then it results in this error.</p>
<p>Ill-advised or mistaken usage of a core class (java.* or javax.*)</p>
<p>I know that potential reason for this error is some conflict with the
core-library. One conflict is the xcerces so I added an exception for
that</p>
<pre><code><span> </span><span><dependency></span><span>
</span><span><groupId></span><span>org.opensaml</span><span></groupId></span><span>
</span><span><artifactId></span><span>opensaml</span><span></artifactId></span><span>
</span><span><version></span><span>2.5.3</span><span></version></span><span>
</span><span><exclusions></span><span>
</span><span><exclusion></span><span>
</span><span><groupId></span><span>xerces</span><span></groupId></span><span>
</span><span><artifactId></span><span>xercesImpl</span><span></artifactId></span><span>
</span><span></exclusion></span><span>
</span><span></exclusions></span><span>
</span><span></dependency></span></code></pre>
But still the same error is coming. Any suggestion?</div>