You screenshot shows that your Java library project is built using JavaSE-1.7. Unfortunately that does not work. You have to set the Java compiler version to 1.6 for that project.
On Monday, August 19, 2013 8:33:44 AM UTC-5, Skip wrote: > > I am trying referencing a *libs* folder in my project. > > *1.)* I created a simple jar with one single dummy class > ImportableDummy.java and exported the project as a jar. > > *Jar Project:* > > [image: enter image description here] > > *2.)* Then I put the jar into the *libs folder* inside my Project. The > lib is then listed under "Private Libraries": > > *Jar referencing Project:* > > [image: enter image description here] [image: enter image description > here] > > *3.)* At least I doublechecked, that the "PrivateLibraries" are marked as > "exported" > > [image: enter image description here] > > *QUESTION:* > > Still there is a java.lang.NoClassDefFoundError: > com.test.my.ImportableDummy exception, when I run the App. During > compileTime the class is perfectly found by the compiler. > > What am I missing? > > - P.S. A tried to create a separate lib project for the jar too, with > the same result. > - P.P.S. I started Eclipse with the -clean argument with no result > > -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

