Monday, February 21, 2011

[android-developers] imports not working with Android libraries

So after rebuilding all my library projects and main project from the
ground up, it's still clear that classes in Android libraries are not
being properly imported. There are no build errors, but at runtime I
see errors like this:

02-21 15:53:43.042: ERROR/dalvikvm(26040): Could not find class
'com.myLibrary.MyClass', referenced from method
com.quickdroid.MainActivity.onActivityResult

Moving these classes back into the main project fixes these errors,
but that pretty much defeats the purpose of having them in libraries
(so I can share code across projects).

Anyone have any ideas?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate