You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
apply plugin: 'com.android.application'
android {
compileSdkVersion 33
buildToolsVersion "33.0.2"
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId "net.micode.notes"
minSdkVersion 14
targetSdkVersion 33 /*目标版本与当先版本对应*/
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile ( 'proguard-android.txt' ) , 'proguard-rules.txt'
}
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
}
dependencies {
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:28.0.0' //导入向下兼容包
}
}
dependencies {
implementation fileTree ( dir: 'C:\\Users\\Re11a\\AndroidStudioProjects\\mi\\MiNotes\\httpcomponents-client-4.5.14-bin\\lib' ,
include: [ '*.aar' , '*.jar' ] ,
exclude: [ 'commons-codec-1.11.jar' , 'httpcomponents-4.5.14.jar' , 'httpclient-cache-4.5.14.jar' ,
'fluent-hc-4.5.14.jar' , 'httpmime-4.5.14.jar' , 'httpclient-4.5.14.jar' ] )
//Duplicate class found! 类重复! , exclude忽略jar包
}