Using: Eclipse & ADT20
I am having issues using Jake Wharton’s ViewPagerIndicator in a new project.
After following the instructions on Jake’s github page I receive an error in my application when adding the library. If I look in the Android Dependencies (located; Properties > Java Build Path > Libraries) there is a library.jar referenced but it has a red cross and says “missing”.
On github page it says “A standalone JAR is not possible due to the theming capabilities offered by the indicator widgets.” so why is my project trying to reference one?
I have tried removing the Android Dependencies and cleaned the project with to no avail. I’ve ran “Add Library Support” and “Fix Project Properties”
Any help would be much appreciated.
EDIT:
The solution can be found here: Using Jake Wharton's ViewPageIndicator
I created a new Android Library Project, copied over the files from ViewPagerIndicator’s “library” subdirectory and then (to fix some problems with some Holo themes not being found) edited the project.properties to:
This last bit at least meant the library project would compile. I have no idea why it is initially set to level 4.
https://github.com/JakeWharton/Android-ViewPagerIndicator/blob/master/library/project.properties