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?

有帮助吗?

解决方案

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.

其他提示

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

enter image description here

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top