how to release on playstore apk?

I was sucessfully uploading my apk in internal testing and suddently, it started to stop with this error:

You need to use a different version code for your APK or Android App Bundle because you already have one with version code 1.

This is my app.json:

{
    "android": {
      "package": "com.myapp.www",
      "versionCode": 360010305,
      "permissions": [
        "CAMERA_ROLL",
        "CAMERA",
        "LOCATION",
        "NOTIFICATIONS",
        "WRITE_EXTERNAL_STORAGE",
        "READ_EXTERNAL_STORAGE"
      ]
    }
}

I use expo-semantic-release for updating the version number in my CIs.

Why I am not allowed anymore to publish the builded apk (on expo’s CIs) to the PlayStore ?

1 Like

Hey,

Did you manage to solve this issue?

can you share the build id to secure@expo.io?

Yes I solved it, I had to upgrade the SDK from 36 to 38. I have lost the Orientation Provider in the process but otherwise it was straight forward and that solved my issue.