apply plugin: 'com.android.application' android { compileSdkVersion 28 buildToolsVersion "29.0.2" useLibrary 'org.apache.http.legacy' defaultConfig { applicationId "net.micode.notes" minSdkVersion 14 targetSdkVersion 14 } lintOptions { checkReleaseBuilds false abortOnError false } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' } } compileOptions { targetCompatibility = '1.8' sourceCompatibility = '1.8' } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } dependencies { implementation fileTree(dir: 'D:\\httpcomponents-client-4.5.5\\lib', include: ['*.aar', '*.jar'], exclude: []) }