-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
From what I gathered, using OpenSSL for Android apps is tricky (currently my Android builds fail after adding tauri-plugin-aptabase) and what is recommended is to use rustls instead like this:
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
This is based on discussion in:
https://github.com/orgs/tauri-apps/discussions/11020
Related failure in my build logs:
Could not find directory of OpenSSL installation, and this `-sys` crate cannot
proceed without this knowledge. If OpenSSL is installed and this crate had
trouble finding it, you can set the `OPENSSL_DIR` environment variable for the
compilation process.
Make sure you also have the development packages of openssl installed.
For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.
If you're in a situation where you think the directory *should* be found
automatically, please open a bug at https://github.com/rust-openssl/rust-openssl
and include information about your system as well as this message.
$HOST = aarch64-apple-darwin
$TARGET = aarch64-linux-android
openssl-sys = 0.9.111
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels