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