diff --git a/src/tdnatives-cpp/td_jni.cpp b/src/tdnatives-cpp/td_jni.cpp index c2b7233..073a95c 100644 --- a/src/tdnatives-cpp/td_jni.cpp +++ b/src/tdnatives-cpp/td_jni.cpp @@ -127,8 +127,8 @@ static jint register_native(JavaVM *vm) { reinterpret_cast(function_ptr)); }; - auto client_class = td::jni::get_jclass(env, PACKAGE_NAME "/Client"); - log_class = td::jni::get_jclass(env, PACKAGE_NAME "/Log"); + auto client_class = td::jni::get_jclass(env, PACKAGE_NAME "/NativeClient"); + log_class = td::jni::get_jclass(env, PACKAGE_NAME "/NativeLog"); auto object_class = td::jni::get_jclass(env, PACKAGE_NAME "/TdApi$Object"); auto function_class = td::jni::get_jclass(env, PACKAGE_NAME "/TdApi$Function");