File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ Cargo.toml
3636``` toml
3737[dependencies ]
3838log = " 0.4"
39- android_logger = " 0.11 "
40- android-activity = { version = " 0.4 " , features = [ " native-activity" ] }
39+ android_logger = " 0.13 "
40+ android-activity = { version = " 0.5 " , features = [ " native-activity" ] }
4141
4242[lib ]
4343crate_type = [" cdylib" ]
@@ -126,8 +126,8 @@ Middleware libraries can instead look at using the [ndk-context](https://crates.
126126The steps to switch a simple standalone application over from ` ndk-glue ` to ` android-activity ` (still based on ` NativeActivity ` ) should be:
127127
1281281 . Remove ` ndk-glue ` from your Cargo.toml
129- 2 . Add a dependency on ` android-activity ` , like ` android-activity = { version="0.4 ", features = [ "native-activity" ] } `
130- 3 . Optionally add a dependency on ` android_logger = "0.11 .0" `
129+ 2 . Add a dependency on ` android-activity ` , like ` android-activity = { version="0.5 ", features = [ "native-activity" ] } `
130+ 3 . Optionally add a dependency on ` android_logger = "0.13 .0" `
1311314 . Update the ` main ` entry point to look like this:
132132
133133``` rust
You can’t perform that action at this time.
0 commit comments