bhook
bhook copied to clipboard
Cannot build for x86_64 after updating to 1.1.0
bytehook Version
1.1.0
Android OS Version
any
Android ABIs
x86_64
Device Manufacturers and Models
any
Describe the Bug
After upgrading to 1.1.0 and trying to build, this happens on x86_64 specifically:
C/C++: /<project path hidden>/src/main/jni/Android.mk proguard|x86_64 : com.google.prefab.api.NoMatchingLibraryException: No compatible library found for //shadowhook/shadowhook. Rejected the following libraries:
Since v1.1.0, Bytehook made an incompatible change. Check it out at https://github.com/bytedance/bhook/releases/tag/v1.1.0. v1.1.1 fixed the compilation problem, view here: https://github.com/bytedance/bhook/releases/tag/v1.1.1.
1. Newly dependent on shadowhook library in arm and arm64 architectures.
If you use prefab to depend on bytehook in x86 and x86_64 architectures, you need to add gradle/prefab_bypass.gradle in the module's build.gradle.