openvpen安卓汉化 - support:appcompat-v7:28
要为OpenVpen安卓设备进行汉化,您可以按照以下步骤操作:
build.gradle
android {
...
defaultConfig {
...
// 设置语言为简体中文
applicationId "your_app_id"
minSdkVersion 21
targetSdkVersion 30
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
...
}
...
}
build.gradle 拼多多帮助力入口
dependencies {
implementation 'com.google.android.gms:play-services-base:18.0.0'
...
}
res/valuesstringszh_CN.txtbuild.gradle
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'material-design-v13'
apply plugin: 'com.google.gms.google-services'
repositories {
...
}
android {
...
defaultConfig {
...
// 设置语言为简体中文
applicationId "your_app_id"
minSdkVersion 21
targetSdkVersion 30
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
...
}
...
}
buildFeatures {
viewBinding true
...
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
kotlinVersion '1.3.710' // Kotlin版本可以根据需要进行修改
}
dependencies {
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.google.android.gms:play-services-base:18.0.0'
...
}
MaterialEditTextHorizontalScrollView