Eclipse在ManiFest.xml配置文件中去修改,给 Main属性添加 android:versionCode = "112321" android:versionName="1.32"就行了.但是在Android Studio中是 /app 文件夹中的build.gradle 文件 中修改:
apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.yingyonghui.market" minSdkVersion 19 targetSdkVersion 23 versionCode 30046694 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:23.0.1' }