Attaching source code to Android libraries.

Since Android Development Tools (ADT) r17, projects in eclipse would automatically add any libraries placed in the libs folder to your build path. This is a great feature but has a pretty horrible side effect in that one cannot attach source code to the libraries in the conventional way under the build path properties page. Fortunately, since the release of ADT r20, there seems to be a work-around which is explained nicely on the following site:

Attaching Source to Libraries in Eclipse

I found that once I had created my file I had to close and reopen my eclipse project for this to work.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s