Failed to resolve: com.osbcp.cssparser:cssparser:1.5 HtmlSpanner-NightWhistler

两盒软妹~` 提交于 2019-12-25 09:15:00

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!