For some reason, I've had a fight or two with eclipse on getting these sources right. Even after completing the steps I've mentioned in the other blog post.
The steps I'll describe now makes a fake android-src.jar, and fixed it for me tonight. *puh*
(requires you've done everything else I've mentioned)
#cd/opt/android-sdk-linux_86/platforms/
#ln -s ~/src/android-sources android-src.jar
In eclipse
- Select your project on the right menu of eclipse
- Choose Properties
- Select Android on the left hand list.
- Choose a different SDK version, 1.6 for example.
- Click Apply.
- Wait for building workspace (on the bottom right side of the eclipse window).
- Choose your correct SDK version again. 1.5 in my example.
- Click Apply.
This is a bit fuzzy and I'm not sure why these sources are causing such grief. There may be better ways of doing this, please tell me if you come across one.
/Finn