0

Current Version in the App Page is pulled from release dashboard of play Store. Please advise.

Thanks

Vinod
  • 1,143
  • 7
  • 9

3 Answers3

0

build.gradle file has typically structured like this:

android {
compileSdkVersion 27
defaultConfig {
    minSdkVersion 16
    targetSdkVersion 27
    versionCode 1
    versionName "1.0"
    ...

versionName is the version that displayed for all users. For more details you can see this answer.

punchman
  • 1,350
  • 1
  • 13
  • 23
0

If you have opened your project in Android View.

Then on you Left scroll to Gradle Scripts expand it.

Here you see build.gradle(Project:name) and build.gradle(Module:app)

Open build.gradle(Module:app).

On Top of it. you will see

android {
compileSdkVersion 27
defaultConfig {
    applicationId "com.company.app_name"
    minSdkVersion 18
    targetSdkVersion 27
    versionCode 1   //Change this to upgrade your app on PlayStore (Not shown there)
    versionName "1.1.0" //This was just to display on PlayStore
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
Ali Ahmed
  • 2,130
  • 1
  • 13
  • 19
0

It's in the Android Manifest file. Though it's common to put it in the Gradle file, Android Gradle puts it into the Manifest file during compiling. The Manifest file starts off as a text file, but is compiled to binary.

lionscribe
  • 3,413
  • 1
  • 16
  • 21