Hi All,

I am trying to launch a service at bootup time, but I am getting
java.lang.ClassNotFound Exeption.
Looks like need to set the classpath.  Any idea about how to set the class
path ?

Here is the logcat messages.

Thanks in advance.

Thanks,
Mahantesh
=========================================================================================

03-10 17:00:59.261: INFO/ActivityManager(55): Start proc
com.mahantesh.android.service.smsService for broadcast
com.mahantesh.android.service.smsService/.serviceStarter: pid=191 uid=10036
gids={}
03-10 17:00:59.442: DEBUG/dalvikvm(22): GC freed 262 objects / 9848 bytes in
197ms
03-10 17:00:59.551: INFO/jdwp(191): received file descriptor 10 from ADB
03-10 17:00:59.742: DEBUG/dalvikvm(22): GC freed 40 objects / 1696 bytes in
275ms
03-10 17:00:59.911: DEBUG/dalvikvm(22): GC freed 2 objects / 48 bytes in
171ms
03-10 17:01:00.231: DEBUG/AndroidRuntime(191): Shutting down VM
03-10 17:01:00.231: *WARN/dalvikvm(191): threadid=3: thread exiting with
uncaught exception (group=0x4000fe68)
*03-10 17:01:00.231: ERROR/AndroidRuntime(191): Uncaught handler: thread
main exiting due to uncaught exception
03-10 17:01:00.291: ERROR/AndroidRuntime(191): java.lang.RuntimeException:
Unable to instantiate receiver
com.mahantesh.android.service.smsService.serviceStarter: java.lang*
.ClassNotFoundException*:
com.mahantesh.android.service.smsService.serviceStarter in loader
dalvik.system.pathclassloa...@40019060
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
android.app.ActivityThread.handleReceiver(ActivityThread.java:2275)
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
android.app.ActivityThread.access$2700(ActivityThread.java:112)
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1635)
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
android.os.Handler.dispatchMessage(Handler.java:99)
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
android.os.Looper.loop(Looper.java:123)
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
android.app.ActivityThread.main(ActivityThread.java:3790)
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
java.lang.reflect.Method.invokeNative(Native Method)
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
java.lang.reflect.Method.invoke(Method.java:521)
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745)
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:503)
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
dalvik.system.NativeStart.main(Native Method)
03-10 17:01:00.291: ERROR/AndroidRuntime(191): Caused by:
java.lang.ClassNotFoundException:
com.mahantesh.android.service.smsService.serviceStarter in loader
dalvik.system.pathclassloa...@40019060
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
java.lang.ClassLoader.loadClass(ClassLoader.java:564)
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
java.lang.ClassLoader.loadClass(ClassLoader.java:521)
03-10 17:01:00.291: ERROR/AndroidRuntime(191):     at
android.app.ActivityThread.handleReceiver(ActivityThread.java:2268)
====================================================================================================

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to