Unexpected version/version code in output

An app I maintain is struggling to update:

lastbuild_5

...
Could not build app com.gitea.theoden8.sudaku: Unexpected version/version code in output; APK: '0.0.2' / '2',  Expected: '0.0.3' / '5'

Versioning in the app seems correct to me, explicitly stated in the pubslec.yaml. I noticed that the metadata file says “disabled: version not updated” (link).

Could someone suggest ways to debug this? I am lacking the information about the error.

Try to build v0.0.3 locally and check versionName and versionCode in the APK. Are they 0.0.3/5?

Nope, looks wrong to me: sudaku/pubspec.yaml at v0.0.3 - sudaku - Gitea: Git with a cup of tea maybe retag v0.0.3 to bump version to v0.0.3+5, since previous release doesnt compile with new sdk · 6d6fd7fb36 - sudaku - Gitea: Git with a cup of tea ? @theoden8

Thanks, this would definitely cause a problem.

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