question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to create MD5 hash

See original GitHub issue

It is possible that I am screwing things up, but I am getting this error:

 FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':qrcode_reader:compileReleaseJavaWithJavac'.
> Failed to create MD5 hash for file 'C:\Users\tsort\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\qrcode_reader-0.1.1\android\tmplibs\flutter.jar'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Finished with error: Gradle build failed: 1

Good luck developing the plugin!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
villelacommented, Sep 16, 2017

That’s what I thought, that it could not be the permission due the API used, I even did the apk analysis to check that , but it looks like it really is.

Can you check if it crashes with the last commit?

1reaction
villelacommented, Sep 16, 2017

That’s actually great, it was the permission them.

The flow to request the permission and the user having to click it again actually makes sense, there’s probably some android callback that tells me the permission was granted but I’ll just send back an error that there was no permission.

I’ll update it now to return an error in the result and when I have time move the permission logic to the example and document it, or make the plugin handle the permission an option since I have no idea how this should be handled in flutter.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gradle build error on Windows "Failed to create MD5 hash for ...
Failed to create MD5 hash for file 'my_project_dir\.gradle\3.5\fileContent\fileContent.lock'. Try: Run with --stacktrace option to get the stack ...
Read more >
Exception: Failed to create MD5 hash for file content #807
Failed to create MD5 hash for file content. * Try: Run with --debug option to get more log output. Run with --scan to...
Read more >
Failed to create MD5 hash [37129469] - Issue Tracker - Google
I'm often running into a "Failed to create MD5 hash" on some random class file in the course of repeating the edit-compile-debug-deply cycle....
Read more >
Gradle Build Issue: Failed to create MD5 hash for file content
Over the weekend, on our macOS build server, the Android build started failing for no apparent reason. This is the error:
Read more >
what means 'Failed to create MD5 hash for file content.' the ...
I just executed RunCilent as usual, but after updating my macOS to Ventura, suddenly this error shows up, I tried refreshing gradle, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found