Skip to content

I want add the source code to my project's Jni folder #148

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

Closed
liufsd opened this issue Jan 2, 2015 · 3 comments
Closed

I want add the source code to my project's Jni folder #148

liufsd opened this issue Jan 2, 2015 · 3 comments

Comments

@liufsd
Copy link

liufsd commented Jan 2, 2015

Hi , i just want add the source code to my project.
I will build sqlcipher by myself.
I have try to use Facebook buck to build my project. so i need do like this:https://github.com/facebook/buck/blob/4528b366500ce64b4295c23f45bf6eed13365b11/test/com/facebook/buck/android/testdata/exopackage-device/jni/one/Android.mk
I mean sqlcipher is one of my jni project.
Which file that i need copy to my jni folder?
I have make init this :https://www.zetetic.net/sqlcipher/sqlcipher-for-android/
(download platform-frameworks-base fail,because this too large.)
Thanks.

@liufsd liufsd changed the title I want add the source code to my project's uni folder I want add the source code to my project's Jni folder Jan 2, 2015
@liufsd
Copy link
Author

liufsd commented Jan 2, 2015

I mean:
1.create new android project (name :Demo)
2.create jni folder
3.copy your file to jni folder.
4.run 'ndk-build'
....build demo.apk
How to do this (third step)?
Thanks.

@developernotes
Copy link
Member

I do not generally directly embed the source to SQLCipher for Android within a project. Have you tried to just submodule SQLCipher for Android within your project? You will need to allow for make init to complete as it requires all submodules to be present for building.

@liufsd
Copy link
Author

liufsd commented Jan 2, 2015

Thanks. I got it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants