Android build error
I'm trying build simple project for android by sudo docker run --rm -v $(pwd)":/root/src" -w /root/src notfl3/cargo-apk cargo quad-apk build
But I'm getting an error error: failed to select a version for the requirement macroquad = "=0.3.15" candidate versions found which didn't match: 0.3.11, 0.3.10, 0.3.9, ... location searched: crates.io index required by package android-test v0.1.0 (/root/src)
Still same
sudo docker run --rm -v $(pwd)":/root/src" -w /root/src notfl3/cargo-apk cargo quad-apk build --example quad
Updating crates.io index
error: failed to select a version for the requirement `macroquad = "=0.3.15"`
candidate versions found which didn't match: 0.3.11, 0.3.10, 0.3.9, ...
location searched: crates.io index
Seems like a new push to dockerhub is required.
The cargo registry seems to be corrupt. The workaround (until a new docker image is published) is:
docker run -it --rm -v $(pwd)":/root/src" -w /root/src notfl3/cargo-apk bash -c "rm -r /usr/local/cargo/registry && cargo quad-apk build --example basic_shapes"