Some classes in your jar might be referencing some other classes which you don't have in your class path. Eclipse would will show you compile time problems. Not having referenced classes is only detected at the runtime in this case.
On Mon, Oct 18, 2010 at 11:18 PM, ping <[email protected]> wrote: > Hi. > I have a problem with a library which i would like to use in my > project. > Here is the situtation: > I have an android project which has another Java Project in its build > path. Thats fine. The other java project reffers to another *.jar > library on its buildpath. Eclipse does not show any errors. But when i > try to call a method of the java project out of my android project it > cannot find the classes which are in the *.jar file of the java > project. It throws a NoClassDefFoundException. > > Android seems to doesnt find the *.jar file within the other java- > project..... > > Can anyone tell me what's the problem here.... > > Again: the projectstructure: > > ANDROID PROJECT ---uses---> JAVA PROJECT --uses---> *.jar > when I call a method of the javaproject out of the android project a > NoClassDefFoundException is thrown at the point where classes of the > *.jar file were used.... :/ > > > greets > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- 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

