Open ssw1992 opened 1 day ago
please include the output of npm run tauri info
also, the error tells you what to do, did you skip https://v2.tauri.app/start/prerequisites/#android perhaps?
If you did run rustup target add ...
and it's still not working: Do you maybe have 2 rust installations, for example a second one installed via chocolatey or something?
Describe the bug
not work
Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
Compiling quote v1.0.36 Compiling libc v0.2.155 Compiling cfg-if v1.0.0 Compiling hashbrown v0.14.5 Compiling rand_core v0.5.1 Compiling rand v0.8.5 Compiling windows-targets v0.52.5 Compiling equivalent v1.0.1 error[E0463]: can't find crate for
core
| = note: thex86_64-linux-android
target may not be installed = help: consider downloading the target withrustup target add x86_64-linux-android
For more information about this error, try
rustc --explain E0463
. error: could not compilecfg-if
(lib) due to 1 previous error warning: build failed, waiting for other jobs to finish... error: could not compilelibc
(lib) due to 1 previous error error: script "dev" exited with code 255Failed to run
cargo build: command ["cargo", "build", "--package", "mobile-rss", "--manifest-path", "E:\\test\\tauri-app\\src-tauri\\Cargo.toml", "--target", "x86_64-linux-android", "--lib"] exited with code 101 Error
Failed to runcargo build
: command ["cargo", "build",Additional context
No response