赞
踩
as版本:3.5.2
学习Android开发,创建第一个项目的时候报错:
ERROR: Unable to resolve dependency for ‘:app@debugAndroidTest/compileClasspath’: Could not download junit.jar (junit:junit:4.12)
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ‘:app@debugUnitTest/compileClasspath’: Could not download junit.jar (junit:junit:4.12)
Show Details
Affected Modules: app
解决方式如下:
1 把项目的build.gradle文件更改如下:
buildscript {
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'http://maven.ali
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。