mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Adds Android winit<->ndk_glue version match table (#1993)
* Adds Android winit<->ndk_glue version match table * Fixes justification * Adds crosses * Address review and instead of a m:n table it shows a 1:1 version compatibility * Addresses review
This commit is contained in:
parent
f92803d80e
commit
1972eb952d
10
README.md
10
README.md
|
@ -92,7 +92,17 @@ book].
|
|||
|
||||
This library makes use of the [ndk-rs](https://github.com/rust-windowing/android-ndk-rs) crates, refer to that repo for more documentation.
|
||||
|
||||
The `ndk_glue` version needs to match the version used by `winit`. Otherwise, the application will not start correctly as `ndk_glue`'s internal NativeActivity static is not the same due to version mismatch.
|
||||
|
||||
`ndk_glue` <-> `winit` version comparison compatibility:
|
||||
|
||||
| winit | ndk_glue |
|
||||
| :---: | :------------------: |
|
||||
| 0.24 | `ndk_glue = "0.2.0"` |
|
||||
| 0.25 | `ndk_glue = "0.3.0"` |
|
||||
|
||||
Running on an Android device needs a dynamic system library, add this to Cargo.toml:
|
||||
|
||||
```toml
|
||||
[[example]]
|
||||
name = "request_redraw_threaded"
|
||||
|
|
Loading…
Reference in a new issue