When I used studio Android to create a project to report this exception, I do not know where there is a mistake, but he can run successfully, build will appear this error, turn to attack first thank you!
error message:
Error:Execution failed for task ':app:mockableAndroidJar'.> java.util.zip.ZipException: invalid entry crc-32 (expected 0x3950d9fc but got 0x12b44089)
build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.example.fomove.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'])
compile 'com.android.support:appcompat-v7:23.0.1'
}
screenshot:

Make a full clean of the Project! That will help! I can help if you dont know how to gradle:clean
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With