apply plugin: 'com.android.application' android { compileSdkVersion 29 defaultConfig { applicationId "com.printer.demo" minSdkVersion 15 targetSdkVersion 29 versionCode 1 versionName "5.7.1" testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' multiDexEnabled true // ndk { // abiFilters "armeabi", "armeabi-v7a", "x86" // } } sourceSets { main { jniLibs.srcDirs = ['libs'] } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortOnError false } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.0.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'com.google.android.material:material:1.0.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' compile 'com.allenliu.versionchecklib:library:2.0.5' implementation files('libs/printersdkv5.7.2.jar') }