Thursday, 21 July 2011

Android: Referencing a library project

Just spent a frustrating hour(+) trying to figure out why my 'FlexStore' Android project couldn't find the classes of my 'KSD Android Utils' library project which was part of the same workspace. In the 'FlexStore' project Properties window, I had navigated to the 'Java Build Path' page and added the 'KSD Android Utils' project, and it was compiling fine. Turns out, what I had to do instead was navigate to the 'Android' page in the 'FlexStore' project Properties window and add the 'KSD Android Utils' library reference.

See the 'Managing Projects from Eclipse with ADT' android developers page for more info on this:

No comments: