Closed pakhranijatin97 closed 5 months ago
Ah crap, that gradle behavior is kind of annoying. This is happening because I develop on Linux and when gradle/verification-metadata.xml
gets generated, it only includes dependencies that are pulled in on Linux systems (which is everything besides aapt2
, apparently).
I'm not sure how to fix this (if it's even possible with gradle), but there are two workarounds:
You can run python gradle/update_verification.py
to redownload and regenerate the checksums and then run git diff
to confirm that it only added aapt2-8.1.3-10154469-osx.jar
for macOS and nothing else.
Or if you don't care about the checksum verification, you can just delete the gradle/verification-metadata.xml
file.
Extracted checksum for aapt2-8.1.3-10154469-osx.jar using command "shasum -a 512 filename/path" and added below lines in gradle/verification-metadata.xml on line 721 and project ran as expected :
<artifact name="aapt2-8.1.3-10154469-osx.jar">
<sha512 value="b47a61ad6d1fa9a5cdd61fbdb2e748219e857b26d548ae422b5f5894db01575cb1f1c33d5a08c8eb8dba50520823ded6d45daf647fe4402848ae73e5c743b83e" origin="Generated by Gradle"/>
</artifact>
This is fixed by #493 and should no longer be a problem with future dependency updates.
Execution failed for task ':app:processDebugResources'.