Open digama0 opened 8 months ago
When attempting to run crab-saber:
PS C:\Users\...\hotham> .\examples\crab-saber\scripts\run_on_device.ps1
Already configuring "src/main.rs"
Using package `crab-saber` in `C:\Users\...\hotham\examples\crab-saber\Cargo.toml`
Error: Invalid args.
Pretty sure this happens if you don't have the right versions of Android NDK/SDK, see https://store.steampowered.com/search/?term=https%3A%2F%2Fstore.steampowered.com%2Fapp%2F2149830%2FVirtAMate__vamX%2F&ignore_preferences=1&supportedlang=english%2Crussian&ndl=1
You could check the NDK and post your sdkmanager --list_installed
for more info.
What happened?
Building the examples according to the instructions fails with the error
Error: Invalid args.
. This exceptionally bad error message comes fromcargo apk
, which expects the cargo project to have exactly one artifact, meaning that a[[bin]]
section causes it to fail.cargo apk build
also fails, for a different reason: it attempts to build all artifacts asCdylib
, which fails on anyBin
target. Given thatcargo apk
is deprecated, I think the best way to solve this on the Hotham side (short of switching toxbuild
as the readme suggests) is to remove the[[bin]]
sections from these examples. (How are they meant to be used via that entry point anyway?)Version
0.1.1 (Default)
In which Hotham component are you seeing the problem on?
Example
What VR System are you seeing the problem on?
Quest-2
What OS are you seeing the problem on?
Windows
Relevant log output
No response