How can I update the version of an APK which I did not create myself
<p>I am new to Android development. I am using a x-platform development tool which builds and signs the APK for me. This tool has a bug and it does not generate APK's with the version code I specify, all APK's generated are version 1.0.</p>

<p>I would like to unpack the APK, edit the version code, and then resign and repackage it. It was signed using my keystore originally, so I have the keys needed to sign it again.</p>

<p>How can this be done?</p>
