调整TARGET_SDK

N938
Matthew 6 months ago
parent a07e656a56
commit f4a93cae9a

@ -24,9 +24,15 @@ android {
defaultConfig { defaultConfig {
applicationId "com.xypower.mpapp" applicationId "com.xypower.mpapp"
minSdk COMPILE_MIN_SDK_VERSION as int if (com.android.build.OutputFile.ABI.equalsIgnoreCase('arm64-v8a')) {
//noinspection ExpiredTargetSdkVersion minSdk COMPILE_MIN_SDK_VERSION as int
targetSdk TARGET_SDK_VERSION as int //noinspection ExpiredTargetSdkVersion
targetSdk TARGET_SDK_VERSION as int
} else {
minSdk COMPILE_MIN_SDK_VERSION_N938 as int
//noinspection ExpiredTargetSdkVersion
targetSdk TARGET_SDK_VERSION_N938 as int
}
versionCode AppVersionCode versionCode AppVersionCode
versionName AppVersionName versionName AppVersionName

@ -6,8 +6,8 @@ android {
compileSdk 33 compileSdk 33
defaultConfig { defaultConfig {
minSdk COMPILE_MIN_SDK_VERSION as int minSdk 28
targetSdk TARGET_SDK_VERSION as int targetSdk 28
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro" consumerProguardFiles "consumer-rules.pro"

@ -4,10 +4,8 @@ android {
compileSdkVersion COMPILE_SDK_VERSION as int compileSdkVersion COMPILE_SDK_VERSION as int
defaultConfig { defaultConfig {
minSdkVersion COMPILE_MIN_SDK_VERSION as int minSdkVersion 28
targetSdkVersion TARGET_SDK_VERSION as int targetSdkVersion 28
} }
buildTypes { buildTypes {

@ -14,8 +14,8 @@ android {
defaultConfig { defaultConfig {
applicationId "com.xypower.mpmaster" applicationId "com.xypower.mpmaster"
minSdk COMPILE_MIN_SDK_VERSION as int minSdk 28
targetSdk TARGET_SDK_VERSION as int targetSdk 28
versionCode AppVersionCode versionCode AppVersionCode
versionName AppVersionName versionName AppVersionName

@ -24,8 +24,8 @@ android {
compileSdkVersion 33 compileSdkVersion 33
defaultConfig { defaultConfig {
minSdkVersion COMPILE_MIN_SDK_VERSION as int minSdkVersion 28
targetSdkVersion TARGET_SDK_VERSION as int targetSdkVersion 28
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

Loading…
Cancel
Save