Comments (4)
I am not certain. Try explicitly declaring the path to your NDK as the env var ANDROID_NDK_HOME
and see if that helps.
You can roll back to 1.0 by using cargo install with --vers 1.0.0, if you need to.
from cargo-ndk.
quiche project use cargo-ndk and we have a similar issue after ndk 2.0.0.
Pinning to 1.0 fixed the issue.
https://github.com/cloudflare/quiche/runs/1681094260?check_suite_focus=true
/usr/share/rust/.cargo/bin/cargo ndk --target aarch64-linux-android --android-platform 21 -- build --verbose
[2021-01-11T12:26:13Z ERROR cargo_ndk::cli] invalid argument to option `--target`: Unsupported target: 'aarch64-linux-android'
Error: The process '/usr/share/rust/.cargo/bin/cargo' failed with exit code 2
from cargo-ndk.
Your issue is unrelated. Command line arguments have changed. See the readme and --help.
from cargo-ndk.
Your issue is unrelated. Command line arguments have changed. See the readme and --help.
Oh. The way of specifying architecture triple is changed! I tried and it seems to work -- cloudflare/quiche#809
Thanks! 👍
from cargo-ndk.
Related Issues (20)
- Workaround for `.cmd` quoting bug on Windows leads to `command line is too long` errors HOT 20
- Specifying android ndk version without full path? HOT 4
- ld: error: undefined symbol: stdin HOT 1
- Add cdylib automically via `--crate-type` HOT 1
- 3.2.0 version seems to be different from 3.1.2, failed to correctly find the compiler HOT 1
- C linker issue HOT 6
- CFLAGS getting ignored HOT 17
- error[E0308]: mismatched types HOT 1
- Changes for 3.3 release haven't been pushed to main HOT 1
- Using proc-macros - no .kt file HOT 1
- install error
- x86_64 linker issue HOT 6
- Not an issue. Just a question if there is any version support NDK 21? HOT 1
- A library produces .sos with undefined symbols HOT 3
- Build failure on for rocksdb dependency on `Ubuntu 22.04` (amd64) machine while cross-compiling for `aarch64-linux-android` HOT 4
- Error in build HOT 1
- Feature request: Printing environment variables set HOT 31
- Install cargo-ndk failed HOT 4
- m1 Mac: ARCH not found in this scope HOT 2
- Feature Request: Set Env for clang/cc-rs HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-ndk.