You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What went wrong:
Execution failed for task ':android-database-sqlcipher:buildAmalgamation'.
A problem occurred starting process 'command './configure''
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
When executing using ./gradlew android-database-sqlcipher:buildAmalgamation --info Shows:
What went wrong:
Could not evaluate onlyIf predicate for task ':android-database-sqlcipher:buildAmalgamation'.
Could not get unknown property 'sqlcipherDir' for task ':android-database-sqlcipher:buildAmalgamation' of type org.gradle.api.DefaultTask.
Tried hardcoding all the 'sqlcipherDir' with absolute path of android-database-sqlcipher folder gives:
Build cache is disabled
Task ':android-database-sqlcipher:buildAmalgamation' is not up-to-date because:
Task has not declared any outputs despite executing actions.
Starting process 'command './configure''. Working directory: /home/ng/opt1/android-database-sqlcipher-master Command: ./configure --enable-tempstore=yes --with-crypto-lib=none
:android-database-sqlcipher:buildAmalgamation (Thread[Daemon worker Thread 13,5,main]) completed. Took 0.017 secs.
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':android-database-sqlcipher:buildAmalgamation'.
A problem occurred starting process 'command './configure''
Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
This should be in reference to SQLCipher core, not SQLCipher for Android. Second, you will also want to include SQLCIPHER_CFLAGS in your command line, I have updated the build instructions to reflect this. If you have any other questions regarding building the software, please feel free to post on the SQLCipher Discuss site.
Expected Behavior: Build can be completed
Actual Behavior: Build failed at buildAmalgamation
Steps to Reproduce
Run: SQLCIPHER_ROOT=/home/ng/opt/android-database-sqlcipher-master OPENSSL_ROOT=/home/ng/opt1/openssl-master SQLCIPHER_ANDROID_VERSION="4.4.2" OPENSSL_ANDROID_LIB_ROOT=/home/ng/opt2 make build-release
Getting following error:
ng@ng-VirtualBox:~/opt1/android-database-sqlcipher-master$ SQLCIPHER_ROOT=/home/ng/opt/android-database-sqlcipher-master OPENSSL_ROOT=/home/ng/opt1/openssl-master SQLCIPHER_ANDROID_VERSION="4.4.2" OPENSSL_ANDROID_LIB_ROOT=/home/ng/opt2 make build-release
./gradlew android-database-sqlcipher:bundleReleaseAar
-PdebugBuild=false
-PsqlcipherRoot="/home/ng/opt/android-database-sqlcipher-master"
-PopensslRoot="/home/ng/opt1/openssl-master"
-PopensslAndroidLibRoot="/home/ng/opt2"
-PsqlcipherCFlags=""
-PsqlcipherAndroidClientVersion="4.4.2"
FAILURE: Build failed with an exception.
Execution failed for task ':android-database-sqlcipher:buildAmalgamation'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
When executing using ./gradlew android-database-sqlcipher:buildAmalgamation --info
Shows:
Could not evaluate onlyIf predicate for task ':android-database-sqlcipher:buildAmalgamation'.
Tried hardcoding all the 'sqlcipherDir' with absolute path of android-database-sqlcipher folder gives:
Build cache is disabled
Task ':android-database-sqlcipher:buildAmalgamation' is not up-to-date because:
Task has not declared any outputs despite executing actions.
Starting process 'command './configure''. Working directory: /home/ng/opt1/android-database-sqlcipher-master Command: ./configure --enable-tempstore=yes --with-crypto-lib=none
:android-database-sqlcipher:buildAmalgamation (Thread[Daemon worker Thread 13,5,main]) completed. Took 0.017 secs.
FAILURE: Build failed with an exception.
Execution failed for task ':android-database-sqlcipher:buildAmalgamation'.
Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
The text was updated successfully, but these errors were encountered: