title: How to set app's version number in Android Studio
body: <p>I would like to upgrade an app's version number (that is displayed in the Play Store) in Android Studio, but I'm not an Android developer so I'm not sure what I'm doing is right. I googled how to do it, and the Android guide says I should have to do it in the <code>AndroidManifest.xml</code>, but I can't find <code>android:versionCode</code>,  <code>android:versionName</code> in that file. However I found these lines in the <code>build.gradle</code>:</p>
  
  <pre><code>minSdkVersion 16
  targetSdkVersion 22
  versionCode 1
  versionName "1.1"
  </code></pre>
  
  <p>The actual version number is 1.1 in the Play Store, so I assume I got this, but I would really appreciate if somebody could confirm it for me. So is it enough if I edit only the <code>versionName</code> in the <code>build.gradle</code>? Or do I need to do anything else? What is the common practice to do this?</p>