首页 > 代码库 > 解决Android Studio卡在Gradle:Resolve dependecies 'app:_debugCompile'问题
解决Android Studio卡在Gradle:Resolve dependecies 'app:_debugCompile'问题
转载:
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'问题
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。