Frage

I'm specifically trying to import this library/module/project http://viewpagerindicator.com but I can't find an "import module" option, just a "new module". I have searched already and all I find is people saying "import module already works since 0.5" but it doesn't shows how to do it. Can anybody guide me please?

War es hilfreich?

Lösung

Why don't you use maven repository to include ViewpagerIndicator in your module's dependencies.

This is what you need to add in to dependencies section of your module's build.gradle file

dependencies {
  .......
  compile 'com.mcxiaoke.viewpagerindicator:library:2.4.1'
}

sync project with gradle after adding the same and that's it, Now you are good to go to use ViewPagerIndicator in your project without taking much headache.

Andere Tipps

I just opened my Android Studio, and I have an "Import Project" and "Import Module" under the File menu.

enter image description here

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top