码迷,mamicode.com
首页 > 移动开发 > 详细

解决Android Studio卡在Gradle:Resolve dependecies 'app:_debugCompile'问题

时间:2017-05-12 00:00:27      阅读:1172      评论:0      收藏:0      [点我收藏+]

标签:long   add   jce   问题   tle   can   ica   mod   oca   

转载:

http://blog.csdn.net/callzjy/article/details/53662073

关键代码

maven { url ‘http://maven.oschina.net/content/groups/public/‘ } 

完整代码

// Top-level build file where you can add configuration options common to all sub-projects/modules.  
buildscript {  
    repositories {  
        maven { url ‘http://maven.oschina.net/content/groups/public/‘ }  
        jcenter()  
    }  
    dependencies {  
        classpath ‘com.android.tools.build:gradle:2.3.0-alpha1‘  
  
        // NOTE: Do not place your application dependencies here; they belong  
        // in the individual module build.gradle files  
    }  
}  
allprojects {  
    repositories {  
        mavenLocal()  
        maven { url ‘http://maven.oschina.net/content/groups/public/‘ }  
        jcenter()  
        maven {  
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm  
            url "$rootDir/../node_modules/react-native/android"  
        }  
    }  
}  

 

解决Android Studio卡在Gradle:Resolve dependecies 'app:_debugCompile'问题

标签:long   add   jce   问题   tle   can   ica   mod   oca   

原文地址:http://www.cnblogs.com/johnsonshu/p/6843016.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!