Domanda

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?

È stato utile?

Soluzione

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.

Altri suggerimenti

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

enter image description here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top