Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install with cargo in Termux #15

Open
mainsm opened this issue May 3, 2023 · 1 comment
Open

Cannot install with cargo in Termux #15

mainsm opened this issue May 3, 2023 · 1 comment

Comments

@mainsm
Copy link

mainsm commented May 3, 2023

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

@JasonWei512
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants