【发布时间】:2016-04-04 21:23:07
【问题描述】:
Gradle 继续在 IntelliJ 上运行,并在“Gradle build using tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:compileDebugSources, :app:compileDebugAndroidTestSources]”处冻结。从昨天开始,我一直在寻找解决方案,但没有运气。
Build.Gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.example.predator.myapplication"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.2.1'
}
【问题讨论】:
-
你可能想将你的 build.gradle 文件添加到这个问题中
-
@TooManyEduardos iv 添加了 build.gradle 文件
标签: android intellij-idea gradle