title: java.lang.NoClassDefFoundError with all R classess when using android library
body: <p>I downloaded a source code from a library for android, compiled it and I got a .jar file, I included into my project and I tried to use it but I always get a java.lang.NoClassDefFoundError, I noticed that in the jar file there are not R$XXX files, I read this post: <a href="https://stackoverflow.com/questions/8310058/android-library-import-delete-r">Android Library Import delete R</a> and tried the solutions but none worked for me.</p>
  
  <p>I made my own simple library and I saw that either, the R files are not included in the jar, I have to add the .class files manually using winrar but I think I am missing something simple, I am using eclipse with ADT.</p>
  
  <p>Thanks to everyone</p>