简体   繁体   中英

How to add Android-ViewPagerIndicator library to maven project

I download the library https://github.com/JakeWharton/Android-ViewPagerIndicator , import to eclipse(Spring tools) , i added to my project in pom.xml:

<dependency>
      <groupId>com.viewpagerindicator</groupId>
      <artifactId>library</artifactId>
      <version>2.3.1</version>
      <type>apklib</type>
    </dependency>

When i wan`t to import on my project she give me error : The import com.viewpagerindicator cannot be resolved. On maven dependency doesn't appear viewpageridicator library! Thanks in advice !

Support for apklib dependencies in ADT Eclipse is part of ongoing work for the m2e-android project and is not yet complete. Please comment on this issue to stay updated:

https://github.com/rgladwell/m2e-android/issues/8

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM