diff --git a/Cargo.lock b/Cargo.lock index d795b8a02..b261f3677 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5220,7 +5220,7 @@ dependencies = [ "image", "impersonate_system", "include_dir", - "jni 0.21.1", + "jni 0.19.0", "lazy_static", "libloading 0.8.0", "libpulse-binding", diff --git a/Cargo.toml b/Cargo.toml index 5c9535a5a..6b26c6b7b 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.21" +jni = "0.19" # >= 0.19 need to modify code [target.'cfg(any(target_os = "android", target_os = "ios"))'.dependencies] flutter_rust_bridge = "1.75"