Okay so I tried your suggestion, and tried using the command: "cargo apk run -target x86_64-linux-android -example hello_world" as well as "cargo apk run -example hello_world -target x86_64-linux-android", both gave the same error:įinished dev target(s) in 0.30sġ013 lib/x86_64/libhello_world. I am running the example on a Windows 10 laptop with rustup 1.23.1, rustc 1.50.0, and ndk 448 if that helps. Rust is in its 8th year and has now had over 300 content updates, with a guaranteed content patch every month. I have googled the issue but all the solutions require me to change a adle file so I am not quite sure those solutions are applicable in this situation. Rust Mobile Now it's time to play on the phone. From megaphones, mobile phones and answering machines to everything you need to host your own disco with dance moves Learn more Buy Voice Props. Notifying the device.įailure Īdb: failed to install D:\Development\Rust\Android\android-ndk-rs-master\target\debug\apk\examples\hello_world.apk: Failure Įrror: Command 'C:\Users\jeanj\AppData\Local\Android\Sdk\platform-tools\adb.exe install -r D:\Development\Rust\Android\android-ndk-rs-master\target\debug\apk\examples\hello_world.apk' had a non-zero exit code. Verifying alignment of D:\Development\Rust\Android\android-ndk-rs-master\target\debug\apk\examples\hello_world.apk (4).ġ016 lib/arm64-v8a/libhello_world.so (OK - compressed)īut then when I try to run the code on the android emulator I end up with this issue:Īll files should be loaded. I downloaded the repository and build the hello_world example, this worked perfectly with the output of:įinished dev target(s) in 0.31s
0 Comments
Leave a Reply. |