Comments (5)
Wait my computer is showing the old one... Huh
from rules_android.
Github made a change that caused the zips to change, they've since rolled it back:
https://twitter.com/tgummerer/status/1488493440103030787
from rules_android.
I am seeing this exact same issue and I'm able to reproduce locally
[~/Downloads]
bhorsley$ export URL="https://github.com/bazelbuild/rules_android/archive/v0.1.1.zip"
[~/Downloads]
bhorsley$ curl -sL $URL | sha256sum
cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806 -
[~/Downloads]
bhorsley@beehorse$ wget -O- $URL 2> /dev/null | sha256sum
7cb2b2e11aafe08b2ccb6eeb11f21f52c45e1ad1cdd0132ddf7bde8462bd9e20 -
both files are valid zip files and diffing the output with xxd
I can see that the files are extremely similar but not identical.
I do not see the same issue when using an alternative URL: https://github.com/bazelbuild/rules_android/archive/refs/tags/v0.1.1.zip
from rules_android.
Github made a change that caused the zips to change, they've since rolled it back:
Good find, thank you @ahumesky
Per that thread:
In general we don't guarantee that the checksums of zip downloads will stay the same, they do for downloads of releases though.
Given this should the README for this repo update the URL in its example to the release url rather than the download URL ?
Download URL: https://github.com/bazelbuild/rules_android/archive/v0.1.1.zip
⬇️
Release URL: https://github.com/bazelbuild/rules_android/archive/refs/tags/v0.1.1.zip
from rules_android.
Actually there is already an open issue around this: #43 I'll resurface this suggestion there
from rules_android.
Related Issues (20)
- Can't build example basicapp HOT 5
- _copy_file and _copy_dir fail on macOS
- AAR libraries from Maven don't expose their resources unlike in built-in Android rules HOT 3
- Mobile install v3 doesn't work with --start=debug HOT 1
- Flags underneath rules/flags/ aren't working correctly HOT 1
- Android platforms breaks incremental dexing and desugaring HOT 4
- mobile-install fails with dependencies from rules_jvm_external HOT 7
- Unable to build with rules_android due to maven install issue HOT 2
- [Bazel CI] android_sdk_repository & android_sdk_repository_platforms_tests are failing with Bazel@HEAD HOT 1
- Bazel query broken at HEAD
- [Bazel CI] ERROR occurred during the fetch of repository 'rules_android_maven'
- APK doesn't include *.version files in metadata
- Rules use entire Android SDK dir as input instead of explicit files which may case poor cache hit HOT 1
- documentation for targets under android_sdk_repository
- Bash is not necessarily in /bin/bash
- No matching toolchains found for types @@bazel_tools//tools/android:sdk_toolchain_type even though called register_toolchains HOT 2
- [FR] Option for mobile-install command to install to all connected devices
- Incomplete implementation of android dynamic features HOT 5
- mobile-install not fully open sourced HOT 6
- Migrate all providers to Starlark HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules_android.