Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build for x86_64 after updating to 1.1.0 #109

Open
artdeell opened this issue Jan 15, 2025 · 1 comment
Open

Cannot build for x86_64 after updating to 1.1.0 #109

artdeell opened this issue Jan 15, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@artdeell
Copy link

artdeell commented Jan 15, 2025

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:
@artdeell artdeell added the bug Something isn't working label Jan 15, 2025
@Colibrow
Copy link
Collaborator

Colibrow commented Jan 16, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants