在创建Android项目完成之后修改包名和app名

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/sw1995126/article/details/78551115
1.修改包名

apply plugin : 'com.android.application'

android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId " 包名 "
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile( 'proguard-android.txt' ), 'proguard-rules.pro'
}
}
}
2.修改app名

< resources >
< string name= "app_name" > app的名字 </ string >





猜你喜欢

转载自blog.csdn.net/sw1995126/article/details/78551115