當我嘗試建立我的項目,消息搖籃建立報告這些消息:錯誤:執行失敗的任務「:應用程序:processDebugResources」
失敗:建立失敗,一個例外。
- 出錯: 任務':app:processDebugResources'的執行失敗。
java.lang.IllegalArgumentException異常(沒有錯誤消息)
搖籃文件
android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
defaultConfig {
applicationId "com.example.bolt.skola"
minSdkVersion 17
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.2.0'
compile 'com.android.support:design:25.2.0'
compile 'com.android.support:support-v4:25.2.0'
compile 'com.roughike:bottom-bar:1.3.9'
compile 'com.google.android.gms:play-services-identity:10.2.0'
compile 'com.google.android.gms:play-services-plus:10.2.0'
compile 'com.google.android.gms:play-services-gcm:10.2.0'
testCompile 'junit:junit:4.12'
}
你確定SDK版本已安裝在SDK Manager中?嘗試編輯你的buildToolsVersion :) –
是的,這是...今天的補丁後,這... hanpend ... – smiljka
一切似乎對我來說很好。我也在使用它。清理並重新構建一次項目。 –