Andriod studio运行是提醒cound not download junit4.12

Error:A problem occurred configuring project ✀:app✀.> Could not download junit.jar (junit:junit:4.12) > Could not get resource ✀https://jcenter.bintray.com/junit/junit/4.12/junit-4.12.jar✀. > Could not GET ✀https://jcenter.bintray.com/junit/junit/4.12/junit-4.12.jar✀. > peer not authenticated求帮助!谢谢!
2026年09月21日 11:34
有3个网友回答
网友(1):

1、首先打开Andriod studio应用程序,进入到编辑的首页中。

2、然后在编辑的页面中,点击打开左侧菜单栏module中的“build.gradle”设置选项。

3、然后在右侧编辑窗口中,在Could not download junit.jar (junit:junit:4.12)代码前面加上“//”,将这一行代码注释,这样就完成了、

网友(2):

1、先打开自己的module下的build.gradle.

2、将下面一行注释掉即可。

希望对你有所帮助。

网友(3):

请问你解决了么 我也遇到了相同的问题