modified: src/main.rs
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit

This commit is contained in:
Michael Wain 2024-10-07 17:24:01 +03:00
parent 3ee149553f
commit f09541c080

View File

@ -1,6 +1,6 @@
#![cfg(target_os = "android")]
use jni::{
/*use jni::{
objects::{JClass, JString},
sys::{jboolean, jchar, jint, jstring},
JNIEnv,
@ -11,7 +11,12 @@ use env_logger::Builder;
use log::{error, LevelFilter};
use crate::config::{ ServerConfiguration, ClientConfiguration, ObfsProtocol, ServerPeer };
use fast32::base32::RFC4648;
use crossbeam_channel::unbounded;
use crossbeam_channel::unbounded;*/
use ::jni::objects::GlobalRef;
use ::jni::JavaVM;
use robusta_jni::bridge;
use std::sync::OnceLock;
mod config;
mod client;
@ -49,7 +54,8 @@ pub unsafe extern "C" fn Java_com_alterdekim_frida_FridaLib_stop(_env: JNIEnv, _
#[bridge]
mod jni {
use android_logger::Config;
use jni::objects::{GlobalRef, JObject, JValue};
use jni::objects::{GlobalRef, JObject, JValue, JString};
use jni::sys::{jboolean, jchar, jint, jstring};
use log::info;
use robusta_jni::convert::{IntoJavaValue, Signature, TryFromJavaValue, TryIntoJavaValue};
use robusta_jni::jni::errors::Result as JniResult;