I'm clearly missing something simple, but after nearly an hour of
trying to figure it out, I'm still stuck.

I have an external jar file containing classes I want to use in my
project.  No problem, right?  I just followed the instructions at

http://developer.android.com/guide/appendix/faq/commontasks.html#addexternallibrary

That is, I used the Properties->Java Build Path->Libraries panel to
add the jar to my project as a library.  But it doesn't work.  The
external library is being included in the compilation classpath, so
everything compiles correctly, but the external classes aren't
actually getting included in the apk.  When I try to run my app, it
immediately crashes with a java.lang.NoClassDefFoundError.  And
looking at the apk, I see it's only 20K, whereas the external library
jar is over 200K.

What am I doing wrong?

Peter

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to