bytedance / android-inline-hook

:fire: ShadowHook is an Android inline hook library which supports thumb, arm32 and arm64.
https://github.com/bytedance/android-inline-hook/tree/main/doc
MIT License
1.68k stars 294 forks source link

Build Error #12

Closed BlackBoxing closed 2 years ago

BlackBoxing commented 2 years ago

ShadowHook Version

1.0.3

Android OS Version

android 11

Android ABIs

arm64-v8a

Device Manufacturers and Models

Redmi k40

Describe the Bug

CMake Error at CMakeLists.txt:9 (find_package):
  Could not find a package configuration file provided by "shadowhook" with
  any of the following names:

    shadowhookConfig.cmake
    shadowhook-config.cmake

  Add the installation prefix of "shadowhook" to CMAKE_PREFIX_PATH or set
  "shadowhook_DIR" to a directory containing one of the above files.  If
  "shadowhook" provides a separate development package or SDK, be sure it has
  been installed.

here is my unsolved project https://github.com/BlackBoxing/BlackBox

BlackBoxing commented 2 years ago

I've solved the problem due to unsupported x86 architecture configuration in build.gradle.