rcopley/Freshbooks-Android-api — Issue #1: Unable to create freshbooks api object
Author: rcopley
Created: 2011-11-06 06:29:54+00:00
State: open

Throws java.lang.NoClassDefFoundError during initialization.

>FATAL EXCEPTION: main
>java.lang.ExceptionInInitializerError
> at com.ronaldcopley.helloworld.HelloWorldActivity.onCreate(HelloWorldActivity.java:39)
> at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
> at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
> at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
> at android.app.ActivityThread.access$2300(ActivityThread.java:125)
> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
> at android.os.Handler.dispatchMessage(Handler.java:99)
> at android.os.Looper.loop(Looper.java:123)
> at android.app.ActivityThread.main(ActivityThread.java:4627)
> 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:868)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
> at dalvik.system.NativeStart.main(Native Method)
>Caused by: java.lang.NoClassDefFoundError: org.slf4j.LoggerFactory
> at com.freshbooks.ApiConnection.(ApiConnection.java:45)
> ... 14 more