I am trying to use Jake Wharton's ViewPagerIndicator library. I have created a new library project for it. When I try to add it to Eclipse under <ProjectProperties> -> Android -> Add
it gives me a green check mark. When I click out of the menu and then go back, the library reference is gone.
When I then go to my Java Build Path, I see "library" under Order and Export
and Projects
. I've read that it is bad to see if under Projects
from this SO post: Could not find Library.apk!
I am also getting the error Could not find library.apk!
from that SO question. I have tried removing the library in Projects
, but that just causes my imports to mess up.
After removing it from Projects
and hovering over the Eclipse error and then selecting Fix project setup
it recommends Add project "library" to <my app>'s Build Path.
This just brings me back to square one.
I have also tried this SO solution: ViewPagerIndicator
That didn't change anything within my project. I still get the Could not find library.apk!
error. When I get my app to run and compile, it gives me this error:
Caused by: java.lang.ClassNotFoundException: com.viewpagerindicator.UnderlinePageIndicator
Which I assume is just because my project settings are so messed up. Any idea how to finally solve this? I've been trying different things out for hours...