无法为之后的文件创建MD5哈希

时间:2017-05-29 13:44:23

标签: java android md5

我在build.gradle中添加了org.apache.http.legacy库,新类被识别,但是当我构建它时,它会向我显示这个错误,我无法理解它是什么。

  

错误:任务':app:compileDebugJavaWithJavac'的执行失败。    无法为文件'C:\ Users \ Guglielmo \ AndroidStudioProjects \ LoginForBreakingBadge \ app \ src \ main \ java \ com \ example \ guglielmo \ loginforbreakingbadge \ android-async-http-1.4.9.jar'创建MD5哈希。

这是我的build.gradle

 apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
useLibrary 'org.apache.http.legacy'
defaultConfig {
    applicationId "com.example.guglielmo.loginforbreakingbadge"
    minSdkVersion 15
    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(include: ['*.jar'], dir: 'libs')
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.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
compile files('src/main/java/com/example/guglielmo/loginforbreakingbadge/android-async-http-1.4.9.jar')

0 个答案:

没有答案