"checksum format error" occurs for binary checksum files
See original GitHub issueI 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:
- Created 7 years ago
- Reactions:1
- Comments:9 (5 by maintainers)
Top 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 >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 FreeTop 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
Top GitHub Comments
for reference https://code.google.com/p/android/issues/detail?id=232567
Closing, binary checksums should be supported for time already.