revert back to jni 21

This commit is contained in:
rustdesk 2023-05-12 12:40:52 +08:00
parent 9184786705
commit ea802ff74f
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View File

@ -5220,7 +5220,7 @@ dependencies = [
"image",
"impersonate_system",
"include_dir",
"jni 0.19.0",
"jni 0.21.1",
"lazy_static",
"libloading 0.8.0",
"libpulse-binding",

View File

@ -130,7 +130,7 @@ users = { version = "0.11" }
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.13"
jni = "0.19" # >= 0.19 need to modify code
jni = "0.21"
[target.'cfg(any(target_os = "android", target_os = "ios"))'.dependencies]
flutter_rust_bridge = "1.75"