Android: bump ndk versions (#1708)
* Bump ndk versions * Update README for new ndk proc attribute * android: add CHANGELOG entry to ndk vesion bump
This commit is contained in:
parent
83c95e774d
commit
386ead15a3
3 changed files with 8 additions and 5 deletions
|
|
@ -92,8 +92,10 @@ crate-type = ["cdylib"]
|
|||
|
||||
And add this to the example file to add the native activity glue:
|
||||
```rust
|
||||
#[cfg(target_os = "android")]
|
||||
ndk_glue::ndk_glue!(main);
|
||||
#[cfg_attr(target_os = "android", ndk_glue::main(backtrace = "on"))]
|
||||
fn main() {
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
And run the application with `cargo apk run --example request_redraw_threaded`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue