Google Play Dev problem with Version Code and Name
  • Poll choices
    Statistics
    Votes
  • Thanks, I've solved this problem :)
    100.00%
    1
  • I've not understand how to solve it. Can you repeat how to solve?
    0.00%
    0
  • This solution don't work with me.
    0.00%
    0
Guests cannot vote (Voters: 1)
  1. Google Play Dev problem with Version Code and Name
    Google Play Dev problem with Version Code and Name. How to solve it!

    AvatarBy SimoneAKABrigante il 20 April 2014
     
    2 Comments   201 Views
    .

    android_studio_logo

    HOW TO FIX VERSION NAME AND VERSION CODE PROBLEM


    Today I have published a new Version of my App, but I received an error: "You must change the Version Code, because there is already an APK with Version Code = 1".

    So I opened the manifest.xml in Android Studio and I wrote, in the xml configuration, this 2 lines:

    android:VersionCode="2"
    android:VersionName="1.1"

    But when I uploaded again my APK, I still had the same error.

    Then I have understood the problem, if you want to change the Version Name and the Version Code, you must change it in the manifest.xml AND IN THE build.gradle!

    So I opened the build.gradle, I changed the version name and the version code, then I syncronized the gradle and I saved my Project.

    Then I uploaded my APK again and it has worked! :D


    If you have another problem, write it below :)
      Share  
     
    .

Comments
  1. Elvin Cabral
    view post
     
    .

    User deleted

    User deleted


    Muchisimas gracias tenia el mismo problema
     
    Top
    .
  2. SimoneAKABrigante
    view post
     
    .

    User deleted

    User deleted


    CITAZIONE (Elvin Cabral @ 3/5/2014, 17:32) 
    Muchisimas gracias tenia el mismo problema

    Great :D I'm glad I solved your problem :)
     
    Top
    .