Where put the android-database-sqlcipher-3.5.5 in the android directory



I know I have to set compile ‘net.zetetic:android-database-sqlcipher:3.5.5-2@aar’ in the build.gradle

But in the android project structure where I put the compile android-database-sqlcipher:3.5.5-2.aa file?


Your file does not seem to extract? After decompression to put such as LIBS directory.


The compile 'net.zetetic:android-database-sqlcipher:3.5.5-2@aar' statement will pull the AAR automatically from JCenter, in a typical Android Studio project:

apply plugin: 'com.android.application'

dependencies {
    compile 'net.zetetic:android-database-sqlcipher:3.5.4@aar'

android {
    compileSdkVersion 24
    buildToolsVersion "24.0.0"

    defaultConfig {
        minSdkVersion 15
        targetSdkVersion 22

(from this sample project)