code-radio-cli icon indicating copy to clipboard operation
code-radio-cli copied to clipboard

Cannot install with cargo in Termux

Open mainsm opened this issue 2 years ago • 1 comments

I have rust installed and have run other rust apps in Termux, but I had this error when trying to install this app with cargo.

error[E0425]: cannot find value EXPECTED_JVM_FILENAME in this scope --> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/jni-0.19.0/build.rs:102:25 | 102 | if file_name == EXPECTED_JVM_FILENAME { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope

For more information about this error, try rustc --explain E0425. error: could not compile jni due to previous error warning: build failed, waiting for other jobs to finish... error: failed to compile code-radio-cli v1.0.3, intermediate artifacts can be found at /data/data/com.termux/files/usr/tmp/cargo-installWovW8G

mainsm avatar May 03 '23 14:05 mainsm

I guess it's related to cpal. But I don't have Android devices.

JasonWei512 avatar May 04 '23 12:05 JasonWei512