You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo apk run --target aarch64-linux-android --lib
Using package `slint-android` in `D:\Code\slint-android\Cargo.toml`
Compiling i-slint-backend-android-activity v1.8.0
Compiling slint-macros v1.8.0
Compiling slint-android v0.1.0 (D:\Code\slint-android)
error: couldn't read `D:\Code\slint-android\target\aarch64-linux-android\debug\build\i-slint-backend-android-activity-428af7b7875a6db3\out/classes.dex`: 系统找不到指定的文件。 (os error 2)
--> C:\Users\yan\.cargo\registry\src\index.crates.io-6f17d22bba15001f\i-slint-backend-android-activity-1.8.0\javahelper.rs:32:20
|
|
|
|
|
|
|
32 | let dex_data = include_bytes!(concat!(env!("OUT_DIR"), "/classes.dex"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
32 | let dex_data = include_bytes!(concat!(env!("OUT_DIR"), "/classes.dex"));
|
32 | let dex_data = include_bytes!(concat!(env!("OUT_DIR"), "/classes.dex"));
|
32 | let dex_data = include_bytes!(concat!(env!("OUT_DIR"), "/classes.dex"));
|
32 | let dex_data = include_bytes!(concat!(env!("OUT_DIR"), "/classes.dex"));
|
32 | let dex_data = include_bytes!(concat!(env!("OUT_DIR"), "/classes.dex"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
32 | let dex_data = include_bytes!(concat!(env!("OUT_DIR"), "/classes.dex"));
|
32 | let dex_data = include_bytes!(concat!(env!("OUT_DIR"), "/classes.dex"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
NDK version:
GNU Make 4.3
Built for Windows32
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
The file should have been written by the build.rs of the slint-backend-android-activity crate.
Do the file actually exist? (D:\Code\slint-android\target\aarch64-linux-android\debug\build\i-slint-backend-android-activity-428af7b7875a6db3\out\classes.dex)
I notice there is a / instead of a \ but i don't think this is a problem. Or is it?
Also strange that the error line is repeated several times.
android build failed:
NDK version:
lib.rs
Cargo.toml
The text was updated successfully, but these errors were encountered: