it can not work!! can Be friendly to developers who use Windows to develop Android with Rust?

Open
#150 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
15/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, rust

Research direction

Start by reproducing the example-app build on Windows 10 with the stated Rust toolchain, Android target, and cargo-ndk setup. Inspect the reported linker-wrapper.bat failure and the missing libudphub.so, then compare the related android-udp-bus issue. Done means the example app builds successfully and includes the required library.

Written by the indexing model from the issue text.

Description

Dear Sir

i use windows 10 to devekop Android app

i follow https://www.rust-lang.org/tools/install to install rust

&

rustup toolchain install stable-x86_64-pc-windows-gnu
rustup default stable-x86_64-pc-windows-gnu

rustup target add aarch64-linux-android
rustup self update
cargo clean
cargo install cargo-ndk

but when build the example-app

get error

error: linking with E:\workspace\AndroidStudioProjects\ Rust_ example\ build\ linker- wrapper\ linker- wrapper. bat failed: exit code: 1 linking with E:\workspace\AndroidStudioProjects\ Rust_ example\ build\ linker- wrapper\ linker- wrapper. bat failed: exit code: 1
  |   = note: "cmd" "/c" "E:\workspace\AndroidStudioProjects\ \ Rust_ example\ \ build\ \ linker- wrapper\ \ linker- wrapper. bat" "-Wl,--version-script= E: \ \ Users\ \ Neo\ \ AppData\ \ Local\ \ Temp\ \ rustcAPmPhO\ \ list" "-Wl,--no-undefined- version" "E:\Users\Neo\AppData\ \ Local\ \ Temp\ \ rustcAPmPhO\ \ symbols. o"
  
  & i found https://github.com/vi/android-udp-bus <-- use 0.9.3 plugin
  
  the app lost libudphub.so" !!
  
https://github.com/vi/android-udp-bus/issues/4

Note:

This person and another account

Spreading computer viruses everywhere

image

image

Dominant language
Kotlin
Stars
1.3k
Forks
95
Avg merge
15m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla/rust-android-gradle

All issues in mozilla/rust-android-gradle

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.