stackmob/StackMob_Android — Issue #1: 10-29 19:00:42.596: E/AndroidRuntime(569): java.lang.NoClassDefFoundError: java.net.CookieManager 
Author: charlieanna
Created: 2011-10-29 14:43:20+00:00
State: open

I am getting this error on executing
stackmob = new StackMob(API_KEY, API_SECRET, USER_OBJECT_NAME, API_VERSION, API_URL_FORMAT, PUSH_API_URL_FORMAT, redirectedCallback);

10-29 19:00:42.116: W/dalvikvm(569): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
10-29 19:00:42.596: E/AndroidRuntime(569): FATAL EXCEPTION: main
10-29 19:00:42.596: E/AndroidRuntime(569): java.lang.NoClassDefFoundError: java.net.CookieManager
10-29 19:00:42.596: E/AndroidRuntime(569):	at com.stackmob.sdk.api.StackMob.(StackMob.java:42)
10-29 19:00:42.596: E/AndroidRuntime(569):	at com.stackmob.sdk.api.StackMob.(StackMob.java:141)
10-29 19:00:42.596: E/AndroidRuntime(569):	at com.stackmob.sdk.api.StackMob.(StackMob.java:154)
10-29 19:00:42.596: E/AndroidRuntime(569):	at com.stackmob.android.sdk.common.StackMobCommon.getStackMobInstance(StackMobCommon.java:51)
10-29 19:00:42.596: E/AndroidRuntime(569):	at your1.application1.package1.C2DMRegistrationIDSender.(C2DMRegistrationIDSender.java:20)
10-29 19:00:42.596: E/AndroidRuntime(569):	at java.lang.Class.newInstanceImpl(Native Method)
10-29 19:00:42.596: E/AndroidRuntime(569):	at java.lang.Class.newInstance(Class.java:1429)
10-29 19:00:42.596: E/AndroidRuntime(569):	at android.app.ActivityThread.handleCreateService(ActivityThread.java:2940)
10-29 19:00:42.596: E/AndroidRuntime(569):	at android.app.ActivityThread.access$3300(ActivityThread.java:125)
10-29 19:00:42.596: E/AndroidRuntime(569):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
10-29 19:00:42.596: E/AndroidRuntime(569):	at android.os.Handler.dispatchMessage(Handler.java:99)
10-29 19:00:42.596: E/AndroidRuntime(569):	at android.os.Looper.loop(Looper.java:123)
10-29 19:00:42.596: E/AndroidRuntime(569):	at android.app.ActivityThread.main(ActivityThread.java:4627)
10-29 19:00:42.596: E/AndroidRuntime(569):	at java.lang.reflect.Method.invokeNative(Native Method)
10-29 19:00:42.596: E/AndroidRuntime(569):	at java.lang.reflect.Method.invoke(Method.java:521)
10-29 19:00:42.596: E/AndroidRuntime(569):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
10-29 19:00:42.596: E/AndroidRuntime(569):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
10-29 19:00:42.596: E/AndroidRuntime(569):	at dalvik.system.NativeStart.main(Native Method)