내가이 개 된 APK가 demo_release.apk 및 full_release.apk이해제하는 방법 제품의 맛
하지만 난이 방법 응용 프로그램
의 변화 versionCode를 같은 오류를 얻고 저장 재생 해제 할 Play 스토어에서 전체 대 데모 두 개의 서로 다른 버전
이미 app_release.apk이 내가 원하는 것은 모두의 APK는 데모와 Play 스토어에서 정식 버전을 출시하는 것입니다 versionCode를 52
와 Play 스토어에서 사용할 수의 버전 코드를 관리 할 수 있습니다. 는하지만 난 실제로 작동하고 사용자가 데모 및 응용 프로그램
의 전체 버전을 다운로드 할 수 방법에 대한 너무 혼란 스러워요이 버전을 관리하는 방법
apply plugin: 'com.android.application'
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}
android {
compileSdkVersion 26
buildToolsVersion '25.0.3'
defaultConfig {
applicationId "com.credihealth.android"
minSdkVersion 16
targetSdkVersion 26
versionCode 52
versionName "4.2.1.1"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
debuggable true
}
}
productFlavors {
demo {
applicationIdSuffix ".demo"
}
full {
applicationIdSuffix ".full"
}
}
}
repositories {
mavenCentral()
flatDir {
dirs 'libs'
}
}
dependencies {
compile(name: "youtube_player_api", ext: "jar")
// this line must be included to integrate with Firebase
// this line must be included to use FCM
compile 'com.android.support:appcompat-v7:26.0.1'
compile 'com.android.support:design:26.0.1'
compile 'com.android.support:recyclerview-v7:26.0.1'
compile 'com.android.support:palette-v7:26.0.1'
compile 'com.android.support:cardview-v7:26.0.1'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.okhttp:okhttp:2.3.0'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
compile 'com.roomorama:caldroid:2.2.1'
compile 'com.facebook.android:facebook-android-sdk:4.7.0'
compile 'com.uncopt:android.justified:1.0'
compile 'com.yayandroid:LocationManager:2.0.3'
compile 'com.google.android.gms:play-services-plus:11.0.1'
compile 'com.google.android.gms:play-services-location:11.0.1'
compile 'com.google.android.gms:play-services-auth:11.0.1'
compile 'com.google.android.gms:play-services-analytics:11.0.1'
compile 'com.google.android.gms:play-services-maps:11.0.1'
compile 'com.hbb20:ccp:1.7.6'
compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
compile 'com.github.aakira:expandable-layout:[email protected]'
compile 'com.google.firebase:firebase-core:11.0.1'
compile 'com.google.firebase:firebase-messaging:11.0.1'
compile 'com.stepstone.stepper:material-stepper:3.3.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
fullCompile 'com.twilio:video-android:1.3.0'
}
apply plugin: 'com.google.gms.google-services'
두 가지 다른 버전 코드를 관리하는 방법에 대해 –
@ShailendraSachan 그러나 그것은 무엇을 의미합니까? 2 명의 apk가 있으며 각각 하나의 버전 코드가 있습니다. –
데모 버전 코드 1 및 버전 코드 1로 가득 차있는 동시에 존재할 수 없습니다. 그래서 버전 코드 1로 2 가지 데모 버전 코드 2로 다른 버전 코드를 할당해야합니다. 이제 다음 번에 데모 버전 코드 3으로 업데이트하고 버전 코드 4로 가득 차게 할 것입니다. –