Anda bisa menambahkan kode berikut pada build.gradle:

android {
    compileSdkVersion 19
    buildToolsVersion "19.0.1"

    defaultConfig {
        minSdkVersion 8
        targetSdkVersion 19
        versionCode 1
        versionName "1.0"
    }
    .... //Other Configuration
}

Anda juga bisa menambahkan dengan mudah lewat cara berikut : Tekan Ctrl+Alt+Shift+S di Android Studio, atau klik menu File > Project Structure… Select app on left side and select falvors tab on right side on default config change version code , name and etc…

Sharing is caring!

author

Menjadi CTO klikhost sejak 2010

Leave a reply "Cara Menambahkan version name dan version code di Android Studio"

Your email address will not be published. Required fields are marked *

Rating*

This site uses Akismet to reduce spam. Learn how your comment data is processed.