How to import ViewPagerIndicator library in Eclipse
Asked Answered
H

3

1

I referred this Link.

As they mentioned, I download it as a zip file and tried to import the library project into Eclipse, but I can't. Instead I get a message "No files to import". How to overcome this?

Hakon answered 13/12, 2012 at 11:15 Comment(0)
M
11

Normally the problem is that you have an existing project called "library" in your workspace, you need to rename it and try to "import from existing code" again.

Another option is

  1. In the project root directory, run mvn eclipse:clean
  2. Then run mvn eclipse:eclipse to build .classpath and .project files

Hope it works.

Mussorgsky answered 21/1, 2013 at 9:6 Comment(0)
B
2

I don't think you can use the ViewPagerIndicator as a library in your project. You have import the ViewPagerIndicator as a project, and then reference it in your project.

Bina answered 13/12, 2012 at 11:25 Comment(4)
Yes , but i tried to import ViewPageIndicater as a project, but i cant, theres an Message "No projects found to import"Hakon
when you go import...then choose Android->Existing Android Code Into Workspace. You also have to extract the ZIP file first.Bina
Yeah just now i tried , again thers an error message box showing "Case Variant Exists" is there any other way?Hakon
try this: link and this: linkBina
M
0

You can choose between two possibilities:

  1. Copy the library source folder into your android project source folder.

  2. If you won't the library as an own library project, follow these steps:

Package Explorer > New > Project ... > Choose "Android > Android Project from Existing Code" > Select unzipped Lib Folder

Monetta answered 13/12, 2012 at 11:18 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.