Support building and running on Android#36
Merged
kevinaboos merged 10 commits intoFeb 5, 2024
Conversation
Error running 'robrix':
Activity class {dev.makepad.robrix/MakepadApp} does not exist
* Add `login.toml`: a temp hack to specify your username and password
on platforms where command-line arguments aren't supported,
such as Android and other mobie platforms.
* This file should not be committed to version control
with a valid username and password; hence why it's in .gitignore.
* Switch to `log!()` and `error!()` macros instead of
`println!()` and `eprintln!()`, which work on Android.
* Export environment variables that the `cc` crate relies on
to build and link Android-specific native target libraries,
which currently include openssl and sqlite.
* These variables only affect builds for Android targets.
* Eventually, we will modify `cargo-makepad` to automatically export
those environment variables for Android builds, which would
free the app developer from the burden of having to do so.
* The build only works with our custom version of `cargo-makepad`
that installs the full NDK at the canonical path.
we can install the proper cargo makepad version that builds Robrix on Android. Use log macros instead of println. Add instructions for building and running Robrix on Android.
because cargo-makepad handles that for us.
tyreseluo
pushed a commit
to tyreseluo/robrix
that referenced
this pull request
Apr 2, 2026
…-and-empty-filter-fallback fix(search): support exact MXID people search and fallback to full list on empty local results
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently vendoring rusqlite and openssl-src so we can build them locally with the same NDK toolchain currently specified by
cargo-makepad.Error running 'robrix':
Activity class {dev.makepad.robrix/MakepadApp} does not exist