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
36
36
``` toml
37
37
[dependencies ]
38
38
log = " 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" ] }
41
41
42
42
[lib ]
43
43
crate_type = [" cdylib" ]
@@ -126,8 +126,8 @@ Middleware libraries can instead look at using the [ndk-context](https://crates.
126
126
The steps to switch a simple standalone application over from ` ndk-glue ` to ` android-activity ` (still based on ` NativeActivity ` ) should be:
127
127
128
128
1 . 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" `
131
131
4 . Update the ` main ` entry point to look like this:
132
132
133
133
``` rust
You can’t perform that action at this time.
0 commit comments