相关文章推荐
大气的登山鞋  ·  Locally compile your ...·  2 月前    · 
犯傻的海豚  ·  Solved: Building ...·  2 月前    · 
谈吐大方的硬盘  ·  GitHub - ...·  2 月前    · 
失恋的牙膏  ·  GitHub - nanomsg/nng: ...·  2 月前    · 
星星上的泡面  ·  NNG - nanomsg-NG·  2 月前    · 
温暖的煎饼  ·  使用 FSharp 获取有关 ...·  2 年前    · 
卖萌的瀑布  ·  原生js之classList ...·  2 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

This library is not in the standard Maven repository, that Gradle uses to resolve dependencies.

You should add the following repository address to your build.gradle file:

repositories {
    mavenCentral()
    maven {
        url "http://repo.pageturner-reader.org"
                yes I put it above dependencies.// Top-level build file where you can add configuration options common to all sub-projects/modules.  buildscript {     repositories {         jcenter()         mavenCentral()         maven {             url "repo.pageturner-reader.org"         }     }     dependencies {         classpath 'com.android.tools.build:gradle:2.1.2'
– Muthukumar S
                Aug 16, 2016 at 9:39

If somebody is still looking, this lib or its analogue is in maven repo

So you can just add dependency to build.gradle:

 implementation 'com.osbcp:cssparser:1.7'

If you also need HTMLCleaner dependency, you can also find it in the standard repo

And add as a dependency to build.gradle like this:

implementation 'net.sourceforge.htmlcleaner:htmlcleaner:2.26'
        

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.