Thank you so much, this is it!
On Monday, August 19, 2013 4:15:55 PM UTC+2, Nobu Games wrote:
-- On Monday, August 19, 2013 4:15:55 PM UTC+2, Nobu Games wrote:
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:
2.) Then I put the jar into the libs folder inside my Project. The lib is then listed under "Private Libraries":
Jar referencing Project:
3.) At least I doublechecked, that the "PrivateLibraries" are marked as "exported"
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment