-
Notifications
You must be signed in to change notification settings - Fork 193
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
Setting up Bypass on Android Studio #158
Comments
+1 |
Bypass relies on the NDK to be built, which isn't available in Android Studio right now. It would be convenient if an AAR was made available with pre-built binaries included, similar to how |
why does it need ndk to be build? |
After downloading the NDK and boost libs, the binaries can be build into the *.so libraries. In Android Studio, these can be included main/jniLibs |
Anyone figured out how to solve this yet? |
@jonathan34c My experience with NDK-dependent libraries is fairly limited, but last night I think I managed to get this working in Android Studio.
Here's a screenshot of my app src folder, if that helps. I thought I would have to copy the files from /platform/android/library/jni to my /src/main/jni folder where my other native code sits, but my project is working without them. Ideally I would like to be able to import the entire /library/ directory as its own module similar to how I think they describe it works for Eclipse, but I haven't figured out how to get that working. It would be great if someone with more experience integrating NDK-dependent libraries could include a sample Android Studio project under /platform/android, to ease the integration process. |
Hey @damien5314 , thank you. I eventually managed to make it works as well. I am trying to make image show with the text and changed the color of text with notations:). Again, thank you for the instruction. thank you |
I have just come to report the same thing as @damien5314 . Looks like he beat me to it, ha! I also toyed with getting it to build with NDK too, but had little luck. Damien, I have this makefile building with AOSP's build system here if it helps: https://github.com/MatthewBooth/OTAUpdates/tree/aosp/jni. I'm pretty sure I saw a gradle hack to run a makefile |
#185 Please, take a look at my PR |
For your convenience, I have compiled Bypass into a gradle compatible library here: |
@Sheshlok do you found any solution for your custom requirements? I also need the same bypass library as you mentioned in your pic. |
To easily import the updated bypass library in android follow this link - https://github.com/amit-upadhyay-IT/bypass-android |
Hey I am relatively new to Bypass and android. If its not much trouble, can any of you tell me how to set this up on android studio. Thanks you very much. :)
The text was updated successfully, but these errors were encountered: