macroquad icon indicating copy to clipboard operation
macroquad copied to clipboard

Android build error

Open KamilM1205 opened this issue 3 years ago • 2 comments

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)

KamilM1205 avatar Mar 20 '22 20:03 KamilM1205

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.

EriKWDev avatar Apr 25 '22 14:04 EriKWDev

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"

yeicor avatar May 03 '22 09:05 yeicor