xHook Prefab

Prefab version of xHook (https://github.com/iqiyi/xHook).

Лицензия

Лицензия

Группа

Группа

dev.rikka.ndk.thirdparty
Идентификатор

Идентификатор

xhook
Последняя версия

Последняя версия

1.2.0
Дата

Дата

Тип

Тип

aar
Описание

Описание

xHook Prefab
Prefab version of xHook (https://github.com/iqiyi/xHook).
Ссылка на сайт

Ссылка на сайт

https://github.com/RikkaW/xhook-prefab
Система контроля версий

Система контроля версий

https://github.com/RikkaW/xhook-prefab

Скачать xhook

Имя Файла Размер
xhook-1.2.0.pom
xhook-1.2.0-sources.jar 261 bytes
xhook-1.2.0-javadoc.jar 261 bytes
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/dev.rikka.ndk.thirdparty/xhook/ -->
<dependency>
    <groupId>dev.rikka.ndk.thirdparty</groupId>
    <artifactId>xhook</artifactId>
    <version>1.2.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/dev.rikka.ndk.thirdparty/xhook/
implementation 'dev.rikka.ndk.thirdparty:xhook:1.2.0'
// https://jarcasting.com/artifacts/dev.rikka.ndk.thirdparty/xhook/
implementation ("dev.rikka.ndk.thirdparty:xhook:1.2.0")
'dev.rikka.ndk.thirdparty:xhook:aar:1.2.0'
<dependency org="dev.rikka.ndk.thirdparty" name="xhook" rev="1.2.0">
  <artifact name="xhook" type="aar" />
</dependency>
@Grapes(
@Grab(group='dev.rikka.ndk.thirdparty', module='xhook', version='1.2.0')
)
libraryDependencies += "dev.rikka.ndk.thirdparty" % "xhook" % "1.2.0"
[dev.rikka.ndk.thirdparty/xhook "1.2.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

xHook Prefab

Prefab package for https://github.com/iqiyi/xHook.

Changes to original

  • Removed __attribute__((visibility("default")))
  • Removed JNI interface (xh_jni.c)

Integration

This is a Prefab library, so you will need to enable it in your project (requires Android Gradle Plugin 4.1+):

android {
    ...
    buildFeatures {
        ...
        prefab true
    }
}

Add dependency:

repositories {
    mavenCentral()
}

dependencies {
    implementation 'dev.rikka.ndk.thirdparty:xhook:1.2.0'
}

Usage

ndk-build

LOCAL_STATIC_LIBRARIES := xhook

# You can remove this block if you are using NDK r21+.
ifneq ($(call ndk-major-at-least,21),true)
    $(call import-add-path,$(NDK_GRADLE_INJECTED_IMPORT_PATH))
endif

$(call import-module,prefab/xhook)

CMake

find_package(xhook REQUIRED CONFIG)
target_link_libraries(<your lib> xhook::xhook)

Версии библиотеки

Версия
1.2.0