【发布时间】:2017-01-06 09:01:59
【问题描述】:
我下载了 android studio 2.2.3 并加载了我的项目。但是 Gradle 构建运行卡住了。它不断表明,我无法运行我的应用程序。有什么问题可以帮我解决吗?
Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies]
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:3.0.0'
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
【问题讨论】:
-
老实说 8 分钟不算多 :)
-
是的,但我也等了超过 21 分钟
-
您可以点击进度条查看正在运行的进程。
-
你在代理后面吗?如果是,您是否为它配置了 Android Studio?
-
是的,我支持代理
标签: android android-studio gradle android-gradle-plugin build.gradle