Referencing external classes
<p>My Android project references external classfiles that are not included in the in the Android SDK. I added those classes as an external library properly in eclipse. The code compiles with no problem. But as I try to run the application I get an ClassNotFoundException by the DalvikVM, although all the neccessary classes have been ported.</p>

<p>Am I missing something?</p>

<p>The steps I did.</p>

<ol>
<li>create new folder in eclipse android project.</li>
<li>copy neccessary classes in this folder.</li>
<li>add the folder to the classpath via eclipse.</li>
<li>programm</li>
<li>compile</li>
<li>run as android application</li>
<li>--> Exception</li>
</ol>

<p>EDIT:</p>

<p>I tried to add the external jar now. I get the following errors when eclipse is rebuilding the build path: </p>

<p>"warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by a broken compiler.)"</p>

<p>That comes for every class file in the jar apparently.</p>

<p>and: "Dex Loader]Unable to execute dex: null"
and: "Conversion to Dalvik format failed: Unable to execute dex: null"</p>
