Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 932
Fomovet Avatar asked Oct 26 '25 14:10

Fomovet


1 Answers

Make a full clean of the Project! That will help! I can help if you dont know how to gradle:clean

like image 97
Simon Schnell Avatar answered Oct 29 '25 05:10

Simon Schnell