当我添加到我的项目compile 'com.android.support:design:25.2.0'
时
和同步项目我看到了:
Error:Failed to crunch file C:\Users\ElteGps 022\Desktop\smok mobile\SMOKMobile-master-82c8589239c26646d1b81cc71810dbd11f2743f51\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\25.2.0\res\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png into C:\Users\ElteGps 022\Desktop\smok mobile\SMOKMobile-master-82c8589239c26646d1b81cc71810dbd11f2743f51\app\build\intermediates\res\merged\debug\drawable-hdpi-v4\abc_textfield_search_default_mtrl_alpha.9.png
这是我的build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 19
buildToolsVersion "24.0.3"
defaultConfig {
applicationId "com.smok.maps"
minSdkVersion 8
targetSdkVersion 19
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.android.support:design:25.2.0'
compile files('libs/android-support-v4.jar')
compile files('libs/joda-time-2.3.jar')
compile files('libs/ksoap2-android-assembly-3.6.0-jar-with-dependencies.jar')
compile files('libs/osmbonuspack_v4.9.jar')
compile files('libs/osmdroid-android-4.2-javadoc.jar')
compile files('libs/osmdroid-android-4.2.jar')
compile files('libs/slf4j-android-1.5.8.jar')
}
答案 0 :(得分:1)
您可以使用
aaptOptions
{
cruncherEnabled = false
}
<强> FYI 强>
致电buildToolsVersion "25.0.1"
而非buildToolsVersion "24.0.3"
然后 Clean-Rebuild-Restarts and Sync
您的IDE