解決Android Studio卡在Gradle:Resolve dependecies 'app:_debugCompile'問題


轉載:

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

 

該死的破牆,我被惡心了一個晚上。

做牆的技術員,TMD的能不能上點心,至少把技術網站給放行?

多看看人民的名義。 到時候,報應就來了!!!

 

關鍵代碼

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"  
        }  
    }  
}  

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM