Git Product home page Git Product logo

Comments (4)

bbqsrc avatar bbqsrc commented on May 18, 2024 2

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.

junhochoi avatar junhochoi commented on May 18, 2024

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.

bbqsrc avatar bbqsrc commented on May 18, 2024

Your issue is unrelated. Command line arguments have changed. See the readme and --help.

from cargo-ndk.

junhochoi avatar junhochoi commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.