Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rehuomi opened this issue Mar 19, 2019 · 0 comments

Comments

@rehuomi
Copy link

rehuomi commented Mar 19, 2019

错误报告

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant