Skip to content

新建一个项目在配置完build.gradle后进行Rebuild Project时候报错:Failed to create MD5 hash for file  #603

@rehuomi

Description

@rehuomi

错误报告

Failed to create MD5 hash for file 'C:\Users\FengYang.android\build-cache\82580a8ff17d9455bbd0feaaf2e5c0e597d56e56\output\jars\classes.jar'.

你做了什么?

在windows环境下Android studio2.3.3版本新建一个项目,使用模板,然后在修改完build.gradle,进行Rebuild Project的时候报错

你期望的结果是什么?

编译成功

实际结果是什么?

编译出错,报错:Failed to create MD5 hash for file 'C:\Users\FengYang.android\build-cache\82580a8ff17d9455bbd0feaaf2e5c0e597d56e56\output\jars\classes.jar'.

Small环境

Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
Observed package id 'build-tools;19.0.3' in inconsistent location 'C:\Dev\adt\adt-bundle-windows-x86_64-20140321\sdk\build-tools\android-4.4.2' (Expected 'C:\Dev\adt\adt-bundle-windows-x86_64-20140321\sdk\build-to
ols\19.0.3')
Observed package id 'system-images;android-19;default;armeabi-v7a' in inconsistent location 'C:\Dev\adt\adt-bundle-windows-x86_64-20140321\sdk\system-images\android-19\armeabi-v7a' (Expected 'C:\Dev\adt\adt-bundle
-windows-x86_64-20140321\sdk\system-images\android-19\default\armeabi-v7a')
Observed package id 'build-tools;19.0.3' in inconsistent location 'C:\Dev\adt\adt-bundle-windows-x86_64-20140321\sdk\build-tools\android-4.4.2' (Expected 'C:\Dev\adt\adt-bundle-windows-x86_64-20140321\sdk\build-to
ols\19.0.3')
Observed package id 'system-images;android-19;default;armeabi-v7a' in inconsistent location 'C:\Dev\adt\adt-bundle-windows-x86_64-20140321\sdk\system-images\android-19\armeabi-v7a' (Expected 'C:\Dev\adt\adt-bundle
-windows-x86_64-20140321\sdk\system-images\android-19\default\armeabi-v7a')
Incremental java compilation is an incubating feature.
:small

Compile-time

  gradle-small plugin : 1.5.0-beta2 (maven)
            small aar : 1.5.0-beta2 (maven)
          gradle core : 3.3
       android plugin : 2.3.0
                   OS : Windows 7 6.1 (amd64)

Bundles

type name PP sdk aapt support file size
host app 28 28.0.3

Runtime

  Device : Samsung Nexus S
     SDK : Android 7.0
     ABI : armeabi-v7a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions