Replies: 1 comment 2 replies
-
Very good job and amazing project, thank you. It is a really perfect example showing how dramatic the amount of additional boilerplate is for running Rust hello world on Android without Termux runtime versus with Termux runtime, it can help people learn exactly what and how much Termux (a distribution of Bash for Android) is handling in the background, and it can also help people learn how to use Termux as their build environment for an app that doesn't need to bundle Termux as its runtime environment. For a comparison, Rust hello world on Android with Termux runtime (Bash for Android): pkg upgrade
pkg install rust
cargo new project1
cd project1
cargo run |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In order to build Android apps on my Android tablet directly, I found the very helpful comment #7227 (comment) but some things in there are a bit outdated, and the PR is closed for new comments.
So I don't know where else to write this information, but if anyone is looking for how to use termux to build Android apps, I wrote instructions (and provided a very basic test app) at https://github.com/dfaure/rust-android-hello-world
Input welcome, and feel free to mention this somewhere.
Beta Was this translation helpful? Give feedback.
All reactions