본문 바로가기
프로그래밍-앱/안드로이드스튜디오

[ 안드로이드스튜디오 ] 버전 코드는 이미 사용되었습니다. 다른 버전 코드를 사용해 보세요. 해결

by 지연2 2023. 4. 18.
728x90

 

Gradle Scripts > Build Gradle 에서 versionCode 의 값을 바꿔준다

plugins {
    id 'com.android.application'
}

android {
    namespace 'com.ㅁ.ㅁ'
    compileSdk 32

    defaultConfig {
        applicationId "com.ㅁ.ㅁ"
        minSdk 21
        targetSdk 32
        versionCode 2
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    
}

 

 

댓글