Have you played with any existing library projects that are known to work? Most of the CWAC projects on my GitHub page are Android library projects, with a demo/ sub-project that references the library project:
https://github.com/commonsguy None are Eclipse projects, though. You mentioned trying the libraries outside of Eclipse earlier (I think), so I'm not sure where you are now. On Mon, Feb 21, 2011 at 7:04 PM, Bret Foreman <[email protected]> wrote: > 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? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in London: http://bit.ly/smand1 and http://bit.ly/smand2 -- 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

