apply plugin: 'com.android.application' android { compileSdkVersion 29 defaultConfig { applicationId "com.javispedro.vndroid" minSdkVersion 26 targetSdkVersion 29 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" ndk { //abiFilters 'x86' } externalNativeBuild { cmake { targets 'native-lib', 'libssl', 'jpeg', 'vncserver' } } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } externalNativeBuild { cmake { path "CMakeLists.txt" } } productFlavors { } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.0.2' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'com.google.android.material:material:1.0.0' implementation 'androidx.preference:preference:1.1.0-alpha05' }