I should mention that this is using 2.2. I'm going to switch to 2.3
and see what that does.

On Feb 21, 2:51 pm, Bret Foreman <bret.fore...@gmail.com> wrote:
> I recently moved some code into libraries and I'm now getting the
> following runtime error. I rebuilt everything from the ground up but
> the error persists. Any ideas about what might be wrong? I haven't
> changed the code from when it worked in the monolithic form, just
> moved some classes into libraries and added some import lines.
>
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590): FATAL EXCEPTION: main
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):
> java.lang.RuntimeException: Unable to instantiate activity
> ComponentInfo{com.quickdroid2/com.quickdroid2.MainActivity}:
> java.lang.ClassNotFoundException: com.quickdroid2.MainActivity in
> loader dalvik.system.PathClassLoader[/data/app/com.quickdroid2-1.apk]
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> 2585)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
> 2679)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> android.app.ActivityThread.access$2300(ActivityThread.java:125)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> android.os.Looper.loop(Looper.java:123)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> android.app.ActivityThread.main(ActivityThread.java:4627)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> java.lang.reflect.Method.invokeNative(Native Method)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> java.lang.reflect.Method.invoke(Method.java:521)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> com.android.internal.os.ZygoteInit
> $MethodAndArgsCaller.run(ZygoteInit.java:858)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> dalvik.system.NativeStart.main(Native Method)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590): Caused by:
> java.lang.ClassNotFoundException: com.quickdroid2.MainActivity in
> loader dalvik.system.PathClassLoader[/data/app/com.quickdroid2-1.apk]
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> java.lang.ClassLoader.loadClass(ClassLoader.java:573)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> java.lang.ClassLoader.loadClass(ClassLoader.java:532)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> android.app.Instrumentation.newActivity(Instrumentation.java:1021)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> 2577)
> 02-21 14:42:29.567: ERROR/AndroidRuntime(25590):     ... 11 more

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

Reply via email to