java - the import com.viewpagerindicator cannot be resolved -


i newbie android. question maybe silly you, forgive me. receiving android project , open in adt.

when open project there 2 errors in 2 java files, the import com.viewpagerindicator cannot resolved in problems. have searched google , find it's using viewpagerindicator. , jar name android-support-v4.jar. checked project libs folder there android-support-v4.jar , it's in android private libraries.

i thought maybe it's not configured in build path. checked java build path tab in project properties window, it's in libraries tab. screenshot below: enter image description here

am missing anything? appreciated.

you need include project android library project, seems haven't done this.

from "including in project" section

android-viewpagerindicator presented android library project. standalone jar not possible due theming capabilities offered indicator widgets.

you can include project referencing library project in eclipse or ant.

  1. download source of project, save somewhere on pc.
  2. in eclipse click file/import/existing android code workspace , choose folder.
  3. in project click project properties/android , in library section choose project.

Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -