How to change the application version in android studio?

Asked

Viewed 14,245 times

2

I’m about to launch an app and know that at some point I will make updates, but I did not find in the tool the location to change the app version, since it is different from Eclipse ADT, which was in the androidmanifest itself. Does anyone know how??

1 answer

4

In android studio inside the build.Gradle file you will find a code that neither the one below :

defaultConfig {
    minSdkVersion 8
    targetSdkVersion 19
    versionCode 1
    versionName "1.0"
}

where versionCode comes is usually code used internally for application to make a comparison. If you have a database, you can use this code to update tables if it changes. versionName and the user-visible code.

If you don’t have this block, just copy and paste it into your

Browser other questions tagged

You are not signed in. Login or sign up in order to post.