问题
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"
}
}
来源:https://stackoverflow.com/questions/38970863/failed-to-resolve-com-osbcp-cssparsercssparser1-5-htmlspanner-nightwhistler