-->

Failed to resolve: com.osbcp.cssparser:cssparser:1

2019-09-12 12:28发布

问题:

I integrated HtmlSpanner into my Android application. I'm getting the following error:

Failed to resolve: com.osbcp.cssparser:cssparser:1.5.

How do I solve this error?

Thanks for help

回答1:

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"
    }
}