From 9184786705d8c0abafe4d300f771073f63872dcc Mon Sep 17 00:00:00 2001 From: rustdesk Date: Fri, 12 May 2023 12:13:39 +0800 Subject: [PATCH] fix android ci --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"