Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Runtime Development

Reply
New Member
martinglish
Posts: 1
Registered: ‎07-19-2013
My Device: BlackBerry Z10

Running app with library jar from another project - NoClassDefFound

Hi,

 

I have a working Android app the consists of two projects in Eclipse, one being a library for the other. I have added ProjectB is a required project for ProjectA and made sure that the project is exported in "Order and Export". Yet when I run the app I get NoClassDefFound for the classes in ProjectB. 

 

There is probably a very simple solution to this, apologies if this has been asked before but I couldn't find a solution when I searched.

 

Thanks.

Retired
jjasmann
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B

Re: Running app with library jar from another project - NoClassDefFound

Though this isn't really BlackBerry related, I found a similar issue on StackOverflow that you should check out.

 

http://stackoverflow.com/questions/7994715/noclassdeffounderror-on-external-library-project-for-andr...

 

    Justin

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com