首页 新闻 赞助 找找看

Android studio 使用真机连接 调试遇到的问题

0
悬赏园豆:10 [待解决问题]

Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugUnitTestCompile'.
> Could not resolve junit:junit:4.12.
Required by:
BJ:app:unspecified
> Could not resolve junit:junit:4.12.
> Could not get resource 'https://jcenter.bintray.com/junit/junit/4.12/junit-4.12.pom'.
> Failure initializing default system SSL context

 

 

 build.gradle 文件:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
}

当我删除 build.gradle 文件中的 

testCompile 'junit:junit:4.12'后  运行项目,会出现一直 build  runnin中   如果继续操作工具会出现电脑系统死机的情况, 请问大神这是怎么回事
求学者一号的主页 求学者一号 | 初学一级 | 园豆:184
提问于:2015-11-16 18:05
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册