I'm sure that the library.apk file error was because I had added the
library project to my app project build path.

The other problem, where app project classes could not see library
project classes was due to something else.

For some strange reason, even when the android library compiles by
itself (I mean, does not show any errors in eclipse), it can give
compiler errors when used as a library in another project. In that
situation, it does not show up like "LibProject" in your png file.

In my situation, this was caused by a problem with a custom widgets I
had defined in my library. The attrs.xml file was being ignored for
some reason. Everything worked fine (i.e. the LibProject showed up as
in your png file) when I removed those custom widget (I'm not talking
about homescreen widgets) attributes from the relevant layout xml in
the library project.

Sorry all this is a bit vague. I'll try and come up with a clearer
scenario but I'm right in the middle of something now.

-- 
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