Failed to create MD5 hash
See original GitHub issueIt 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:
- Created 6 years ago
- Reactions:1
- Comments:18 (8 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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?
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.