Fomove Fomove - 1 month ago 8
Android Question

Error:Execution failed for task ':app:mockableAndroidJar'. > java.util.zip.ZipException: invalid entry crc-32 (expected 0x3950d9fc but got 0x12b44089)

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:

enter image description here

Answer

I have found the answer to this question for the wrong reason is that SDK-23 is damaged and then I have to download it again to solve the hope that can help you.

Comments