From ea802ff74fb87d4b7ae858372dcf439c5975efd5 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Fri, 12 May 2023 12:40:52 +0800 Subject: [PATCH] revert back to jni 21 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b261f3677..d795b8a02 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index 6b26c6b7b..5c9535a5a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"