Ionic build android erro、(Could not resolve all dependencies for configuration)

Ionic build android erro、(Could not resolve all dependencies for configuration

Everything was running fine and now this build error has started showing up suddenly:-

FAILURE: Build failed with an exception.

What went wrong: A problem occurred configuring root project 'android'.

Could not resolve all dependencies for configuration ':classpath'. Could not download artifact 'bcprov-jdk15on.jar (org.bouncycastle:bcprov-jdk15on:1.48)' Failed to download resource 'https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.jar'. Connection reset

Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

gradle 有问题。运行命令

gradle init

如果觉得,博主的文章对你有用,而且博主码字也很辛苦,可以给博主打赏点茶水钱。谢谢各位看官!

博主的博客网站:http://www.lwieui.cn

赞赏!

解决了上述错误。

或者,看一下下面的链接地址:CSDN博客原文:https://blog.csdn.net/wjj1996825/article/details/80900875

你可能感兴趣的:(Ionic build android erro、(Could not resolve all dependencies for configuration))