expo build:android not taking the right versionCode

  1. SDK Version: 39
  2. Platforms(Android/iOS/web/all): Android

I have changed versionCode and buildNumber for android and Ios in app.json, and I run expo build:android (or ios), but it keeps the previous versionCode. For example I set versionCode to 8, and when I upload to google play store it says “number 7 already used”. I deleted all previous build in directory.

expo build:android --release-channel android-production --no-wait --no-publish

Is there any cache or something I missing? Is there another way to configure versionCode and buidlNumber?

I needed to remove ‘–no-publish’ and it worked

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.