title: Android and slf4j : "java.lang.NoClassDefFoundError: org.slf4j.LoggerFactory"
body: <p>Two days ago, when my android project in eclipse still worked, I added "android SDK 4.0.3" to my SDKs (in addition to android SDK 2.1).</p>
  
  <p>From that moment on, I have a trouble with <strong>slf4j-android</strong> library; here's the exception:</p>
  
  <pre><code>Uncaught handler: thread main exiting due to uncaught exception
    java.lang.ExceptionInInitializerError
    at java.lang.Class.newInstanceImpl(Native Method)
    at java.lang.Class.newInstance(Class.java:1479)
    at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2409)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
    at android.app.ActivityThread.access$2200(ActivityThread.java:119)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:123)
    at android.app.ActivityThread.main(ActivityThread.java:4363)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:521)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
    at dalvik.system.NativeStart.main(Native Method)
  Caused by: java.lang.NoClassDefFoundError: org.slf4j.LoggerFactory
    at it.cefriel.swa.urbanopoly.client.game.UrbanopolyActivity.&lt;clinit&gt;(UrbanopolyActivity.java:11)
  </code></pre>
  
  <p>The JAR I use is <strong>slf4j-android-1.5.8.jar</strong>. The build path seems correctly setted. I also tried to create another project using slf4j and I got the same error..</p>
  
  <p>Any Ideas?</p>
  
  <p>Thanks in advance</p>