zoukankan      html  css  js  c++  java
  • 解决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"  
            }  
        }  
    }  
  • 相关阅读:
    Junit单元测试
    Stream流方法引用
    Stream流思想和常用方法
    算法
    函数式接口
    Zookeeper理解
    GreenPlum学习之(Share-nothing)架构
    链表反转问题
    KMP算法的java实现
    KMP详解之二
  • 原文地址:https://www.cnblogs.com/johnsonshu/p/6843016.html
Copyright © 2011-2022 走看看