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

2019-09-12 12:36发布

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条回答
等我变得足够好
2楼-- · 2019-09-12 12:42

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"
    }
}
查看更多
登录 后发表回答