Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8732933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:32:19+00:00 2026-06-13T09:32:19+00:00

I for the life of me cannot get ViewPagerIndicator to compile for use in

  • 0

I for the life of me cannot get ViewPagerIndicator to compile for use in my project!

Website: http://viewpagerindicator.com/
Github: https://github.com/JakeWharton/Android-ViewPagerIndicator

Here are the steps I have taken:

  1. Download Version 2.4.1 — 2012-09-11 from http://viewpagerindicator.com/.
    (I have also tried cloning from the git repo)

  2. In Eclipse File->Import->Existing Projects into Workspace.

  3. In the Import dialog, I browse to the Android-ViewPagerIndicator directory and import the example and library projects.

  4. Eclipse then imports the projects and displays the following compile errors:

    • The container ‘Android Dependencies’ references non existing library ‘C:\Users\Jonathan\workspace\Android-ViewPagerIndicator\library\bin\library.jar’

    • error: Error: No resource found that matches the given name: attr ‘android:dividerPadding’.

    • dividerPadding cannot be resolved or is not a field

    • SHOW_DIVIDER_NONE cannot be resolved to a variable

    • error: Error: No resource found that matches the given name: attr ‘android:showDividers’.

    • SHOW_DIVIDER_MIDDLE cannot be resolved to a variable

    • The project cannot be built until build path errors are resolved

    • showDividers cannot be resolved or is not a field

My environment:

  • Windows 7 SP 1
  • Eclipse Platform 4.2.0.I20120608-1400 – org.eclipse.platform.ide
  • Android 2.3.3 (API 10) Installed
  • Android Support Library Installed
  • Java v7.0.70.11

These errors seem stupid, why would basic constants and attributes be missing?

I’ve been Googling this damn thing for hours and can’t find anything, your help is MUCH appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T09:32:20+00:00Added an answer on June 13, 2026 at 9:32 am

    The ViewPagerIndicator library requires being compiled with Android 4.0 or newer.

    VPI uses constants which are only available on API 14 and newer which end up getting compiled into the class files directly. This is why despite using things from a new API you can still utilize the library back through Android 1.6.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I cannot get Bindable LINQ to work with VB.NET for the life of me.
I cannot for the life of me get this. Example of fails, the last
I am having a mental blank here and cannot for the life of me
For the life of me, I cannot figure out why the code at www.moosecodes.com
For the life of me I cannot get my Superfish menu to stop hiding
I cannot get this link to be clickable for the life of me. When
For the life of me I cannot get the bash script to execute the
I just for the life of me cannot get an AJAX call to work
I cannot get my site to be centered for the life of me with
I CANNOT get this JUnit Test to pass for the life of me. Can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.