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.

"checksum format error" occurs for binary checksum files

See original GitHub issue

I don’t know where this is documented, but it turns out that binary checksum files are allowed (ivy and maven both support them). coursier chokes:

> compile
[info] Updating g2
Downloading https://repo1.maven.org/maven2/com/google/android/gms/play-services-base/9.6.1/play-services-base-9.6.1.pom.sha1
Downloading https://repo1.maven.org/maven2/com/google/android/gms/play-services-base/9.6.1/play-services-base-9.6.1.pom
[warn] Android SDK updates available, run 'android-update' to update:
[warn]     Android SDK Platform-Tools 24.0.3
[warn]     Google APIs Intel x86 Atom_64 System Image
[warn]     Google APIs Intel x86 Atom System Image
[warn] libraryDependencies have changed, forcing clean build
[trace] Stack trace suppressed: run last *:coursierResolution for the full output.
[error] (*:coursierResolution) coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
[error]   com.google.android.gms:play-services-base:9.6.1:
[error]     checksum format error: C:\Users\pfnguyen\android-sdk-windows\extras\google\m2repository\com\google\android\gms\play-services-base\9.6.1\play-services-base-9.6.1.pom.sha1
[error]     not found:
[error]       C:\Users\pfnguyen\.ivy2\local\com.google.android.gms\play-services-base\9.6.1\ivys\ivy.xml
[error]       https://repo1.maven.org/maven2/com/google/android/gms/play-services-base/9.6.1/play-services-base-9.6.1.pom
[error]       C:\Users\pfnguyen\android-sdk-windows\extras\android\m2repository\com\google\android\gms\play-services-base\9.6.1\play-services-base-9.6.1.pom
[error] Total time: 3 s, completed Oct 4, 2016 12:06:32 PM

repro steps:

$ mkdir binchecksums
$ cd binchecksums
$ mkdir project
$ echo 'addSbtPlugin("org.scala-android" % "sbt-android" % "1.6.18")' > project/plugins.sbt
$ echo 'addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M14-3")' >> project/plugins.sbt
$ sbt "gen-android com.foo Foo"
$ echo 'libraryDependencies += "com.google.android.gms" % "play-services-base" % "9.6.1"' >> build.sbt
$ sbt update

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pfncommented, Jan 31, 2017
0reactions
alexarchambaultcommented, May 13, 2019

Closing, binary checksums should be supported for time already.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reasons Your Checksum Doesn't Match the Original
This is why we recommend troubleshooting steps for when checksums don't match. ... Did you download the wrong file?
Read more >
error-correcting code checksum - binary - Stack Overflow
So we have checksum, which allows to check for errors on block of data. There are many variations of checksum.
Read more >
Binary file does not include checksum - IAR Systems
This tech note discusses issues that can occur when combing binary output format with checksum calculation. Issue. Both the option "Output ...
Read more >
GIM Installation Failure with MD5SUM Error - IBM
The cause of this message is said to happen when the makeself embedded value of checksum is different than the value generated by...
Read more >
Fixing the checksum of a modified Android ELF
ELF itself doesn't specify any kind of checksum. Your link error is likely due to an incorrect edit which changed some offsets within...
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