Referencing external classes

Posted by moppel on Stack Overflow See other posts from Stack Overflow or by moppel
Published on 2010-03-29T12:22:46Z Indexed on 2010/03/29 13:33 UTC
Read the original article Hit count: 271

Filed under:

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.

Am I missing something?

The steps I did.

  1. create new folder in eclipse android project.
  2. copy neccessary classes in this folder.
  3. add the folder to the classpath via eclipse.
  4. programm
  5. compile
  6. run as android application
  7. --> Exception

© Stack Overflow or respective owner

Related posts about android