Skip to content

Unable to build using instructions in README.md #136

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
FabianFrank opened this issue Aug 18, 2014 · 4 comments
Closed

Unable to build using instructions in README.md #136

FabianFrank opened this issue Aug 18, 2014 · 4 comments

Comments

@FabianFrank
Copy link

I have ANDROID_HOME and ANDROID_NDK_ROOT set correctly. make init succeeds without errors or warnings. However, make fails with the following error:

make[1]: Leaving directory `XXX/android-database-sqlcipher/jni'
ant release && \
    cd XXX/android-database-sqlcipher/bin/classes && \
    jar -cvf sqlcipher.jar .
Buildfile: build.xml does not exist!
Build failed

Using your provided binaries is not a solution, as they contain dependencies like Guava, making them a dealbreaker. Also the issues with DART due to JNI signatures make it look like I will have to build myself in any case to fix these locally (will send PR).

@FabianFrank
Copy link
Author

Turns out it was because I didn't have android-7 installed. The error message is very hard to see, since it's at the top of thousands of lines of output. It would be nice to clearly document the requirement and/or abort execution after this error.

@developernotes
Copy link
Member

Hi @FabianFrank

We will update the README to include an additional reference to the Android environment configuration for those building from source. Thanks!

@FabianFrank
Copy link
Author

Thank you for doing this. 👍

@timolehto
Copy link

Thanks for this info.

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

3 participants